commit 16e283e932c5833fea8ee9f8f3d726400a6cb173
parent 3d88ea442e1d4afbe2099ba1bb6b14727b821802
Author: Joris Vink <joris@coders.se>
Date: Sun, 14 Jan 2024 13:01:23 +0100
Tabs are ok when decoding post data.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/http.c b/src/http.c
@@ -1051,7 +1051,7 @@ http_argument_urldecode(char *arg, int url)
return (KORE_RESULT_ERROR);
} else {
if ((v <= 0x1f || v == 0x7f) &&
- (v != '\n' && v != '\r'))
+ (v != '\n' && v != '\r' && v != '\t'))
return (KORE_RESULT_ERROR);
}