summaryrefslogtreecommitdiff
path: root/url.c
diff options
context:
space:
mode:
Diffstat (limited to 'url.c')
-rw-r--r--url.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/url.c b/url.c
index 3a0a5ad..83c9d04 100644
--- a/url.c
+++ b/url.c
@@ -39,6 +39,9 @@ string cUrlEncode::doUrlSaveEncode(string in) {
}
num = in[idx];
switch (num) {
+ case ' ':
+ res += "%20";
+ break;
case '"':
res += "%22";
break;