aboutsummaryrefslogtreecommitdiffstats
path: root/proto.h
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2021-04-10 03:19:58 +0000
committerTatsuya Kinoshita <tats@debian.org>2021-04-10 03:19:58 +0000
commit4e0375c76fcc301d523242bffc6ac5c015b7e4e0 (patch)
tree5e10352b8a9f12dcef1c9d3de4d2c5b24e0e05f4 /proto.h
parentDon't set Referer when data URI scheme (diff)
downloadw3m-4e0375c76fcc301d523242bffc6ac5c015b7e4e0.tar.gz
w3m-4e0375c76fcc301d523242bffc6ac5c015b7e4e0.zip
Don't include username in Referer
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index aa373dc..42aa4f8 100644
--- a/proto.h
+++ b/proto.h
@@ -544,6 +544,7 @@ extern void parseURL(char *url, ParsedURL *p_url, ParsedURL *current);
extern void copyParsedURL(ParsedURL *p, const ParsedURL *q);
extern void parseURL2(char *url, ParsedURL *pu, ParsedURL *current);
extern Str parsedURL2Str(ParsedURL *pu);
+extern Str parsedURL2RefererStr(ParsedURL *pu);
extern int getURLScheme(char **url);
extern void init_stream(URLFile *uf, int scheme, InputStream stream);
Str HTTPrequestMethod(HRequest *hr);