1
0
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:
Witold Filipczyk 2008-02-19 22:07:15 +01:00 committed by Kalle Olavi Niemitalo
parent b18190d01a
commit 8f46de65d6

View File

@ -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);
} }