diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2021-04-10 01:39:28 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2021-04-10 02:14:26 +0000 |
commit | 4e2cfffd88fb9f4f9fd3400d2270012603a5f896 (patch) | |
tree | f84e7f3afff2aea3934d47e34e21141feac44a05 /url.c | |
parent | Update ChangeLog (diff) | |
download | w3m-4e2cfffd88fb9f4f9fd3400d2270012603a5f896.tar.gz w3m-4e2cfffd88fb9f4f9fd3400d2270012603a5f896.zip |
Don't set Referer when data URI scheme
Diffstat (limited to '')
-rw-r--r-- | url.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1456,7 +1456,7 @@ otherinfo(ParsedURL *target, ParsedURL *current, char *referer) else #endif if (referer == NULL && current && current->scheme != SCM_LOCAL && - current->scheme != SCM_LOCAL_CGI && + current->scheme != SCM_LOCAL_CGI && current->scheme != SCM_DATA && (current->scheme != SCM_FTP || (current->user == NULL && current->pass == NULL))) { char *p = current->label; |