mirror of
https://github.com/rkd77/elinks.git
synced 2025-06-30 22:19:29 -04:00
REFERRER is back
This commit is contained in:
parent
c0f98c34ce
commit
15b52b62e4
@ -550,7 +550,7 @@ add_uri_to_string(struct string *string, struct uri *uri,
|
||||
}
|
||||
|
||||
/* Only add slash if we need to separate */
|
||||
if ((wants(URI_DATA) || wants(URI_POST))
|
||||
if ((wants(URI_DATA) || wants(URI_POST) || components == URI_HTTP_REFERRER_HOST)
|
||||
&& wants(~(URI_DATA | URI_PORT))
|
||||
&& get_protocol_need_slash_after_host(uri->protocol))
|
||||
add_char_to_string(string, '/');
|
||||
|
Loading…
x
Reference in New Issue
Block a user