From 3a4c053bd558faf77b69770d48f57124f585ea4b Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Tue, 19 Feb 2008 22:07:15 +0100 Subject: [PATCH] bug 1000: Do not discard the query part of URI. --- src/protocol/uri.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/protocol/uri.c b/src/protocol/uri.c index 58f2df290..ef7f53e79 100644 --- a/src/protocol/uri.c +++ b/src/protocol/uri.c @@ -161,6 +161,7 @@ encode_file_uri_string(struct string *string, unsigned char *uristring) int filenamelen = check_whether_file_exists(uristring); encode_uri_string(string, uristring, filenamelen, 0); + if (filenamelen > 0) add_to_string(string, uristring + filenamelen); }