aboutsummaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/util.c b/src/net/util.c
index bada160..62b394c 100644
--- a/src/net/util.c
+++ b/src/net/util.c
@@ -546,6 +546,7 @@ int percent_decode(str* input, str** _output){
return 1;
}
+ if(c == '/') c = '%';
str_pushl(output, ((char*)&c), 1);
str_free(hex);
i += 2;