summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gmutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gmutil.c b/src/gmutil.c
index b08fc26a..0e0cccc5 100644
--- a/src/gmutil.c
+++ b/src/gmutil.c
@@ -181,7 +181,7 @@ void urlDecodePath_String(iString *d) {
181 iString *decoded = new_String(); 181 iString *decoded = new_String();
182 appendRange_String(decoded, (iRangecc){ constBegin_String(d), url.path.start }); 182 appendRange_String(decoded, (iRangecc){ constBegin_String(d), url.path.start });
183 iString *path = newRange_String(url.path); 183 iString *path = newRange_String(url.path);
184 iString *decPath = urlDecode_String(path); 184 iString *decPath = urlDecodeExclude_String(path, "%?/#"); /* don't decode reserved path chars */
185 append_String(decoded, decPath); 185 append_String(decoded, decPath);
186 delete_String(decPath); 186 delete_String(decPath);
187 delete_String(path); 187 delete_String(path);