From: Yann Ylavic Date: Sun, 14 Jun 2015 00:24:30 +0000 (+0000) Subject: Follow up to r1685345: don't accept spaces *before* the chunk-size. X-Git-Tag: 2.5.0-alpha~3081 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=292da9775a8c7c9ba9b5887927423640545db644;p=apache 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 --- 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