mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
bug 1000: Do not discard the query part of URI.
(cherry picked from commit 3a4c053bd5
)
This commit is contained in:
parent
b18190d01a
commit
8f46de65d6
@ -175,6 +175,7 @@ encode_file_uri_string(struct string *string, unsigned char *uristring)
|
|||||||
int filenamelen = check_whether_file_exists(uristring);
|
int filenamelen = check_whether_file_exists(uristring);
|
||||||
|
|
||||||
encode_uri_string(string, uristring, filenamelen, 0);
|
encode_uri_string(string, uristring, filenamelen, 0);
|
||||||
|
if (filenamelen > 0) add_to_string(string, uristring + filenamelen);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user