From c30ff58b93a617ed3037bfc8e6de69664cb84a47 Mon Sep 17 00:00:00 2001 From: Joris Vink Date: Fri, 18 Oct 2013 12:43:20 +0200 Subject: [PATCH] control characters have nothing to do inside a URL. --- src/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http.c b/src/http.c index cd08a76..66fdab9 100644 --- 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);