From 292da9775a8c7c9ba9b5887927423640545db644 Mon Sep 17 00:00:00 2001 From: Yann Ylavic Date: Sun, 14 Jun 2015 00:24:30 +0000 Subject: [PATCH] Follow up to r1685345: don't accept spaces *before* the chunk-size. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1685347 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http/http_filters.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/http/http_filters.c b/modules/http/http_filters.c index 834b3ba38d..a4e0150423 100644 --- a/modules/http/http_filters.c +++ b/modules/http/http_filters.c @@ -120,10 +120,6 @@ static apr_status_t parse_chunk_size(http_ctx_t *ctx, const char *buffer, /* handle start of the chunk */ if (ctx->state == BODY_CHUNK) { - if (c == ' ' || c == '\t') { - i++; - continue; - } if (!apr_isxdigit(c)) { /* * Detect invalid character at beginning. This also works for