commit 0f58de36f4834d168a919c2236771d07d28fe7ae
parent f2e17c13840db1c9384d58a9f9788033129197b1
Author: Joris Vink <joris@coders.se>
Date: Tue, 16 Jul 2019 21:31:32 +0200
Be a little less strict on url decoding.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/http.c b/src/http.c
@@ -999,7 +999,7 @@ http_argument_urldecode(char *arg)
if (err != KORE_RESULT_OK)
return (err);
- if (v <= 0x1f || v == 0x7f || (v >= 0x80 && v <= 0x9f))
+ if (v <= 0x1f || v == 0x7f)
return (KORE_RESULT_ERROR);
*in++ = (char)v;