kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 5d027b7a212bf3fa8f2ef5751cba4dbd7a46b9d2
parent ca05fb74d18795923e0337e33e4bdb8f5b740e13
Author: Joris Vink <joris@coders.se>
Date:   Fri, 18 Oct 2013 12:32:00 +0200

Decode all url encoded components properly.

Diffstat:
src/http.c | 2+-
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, 32, 127, &err); + v = kore_strtonum(h, 16, 0, 255, &err); if (err != KORE_RESULT_OK) return (err);