commit c30ff58b93a617ed3037bfc8e6de69664cb84a47
parent 5d027b7a212bf3fa8f2ef5751cba4dbd7a46b9d2
Author: Joris Vink <joris@coders.se>
Date: Fri, 18 Oct 2013 12:43:20 +0200
control characters have nothing to do inside a URL.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/http.c b/src/http.c
@@ -581,7 +581,7 @@ http_argument_urldecode(char *arg)
h[3] = *(p + 2);
h[4] = '\0';
- v = kore_strtonum(h, 16, 0, 255, &err);
+ v = kore_strtonum(h, 16, 20, 255, &err);
if (err != KORE_RESULT_OK)
return (err);