]> granicus.if.org Git - apache/commitdiff
Follow up to r1685345: don't accept spaces *before* the chunk-size.
authorYann Ylavic <ylavic@apache.org>
Sun, 14 Jun 2015 00:24:30 +0000 (00:24 +0000)
committerYann Ylavic <ylavic@apache.org>
Sun, 14 Jun 2015 00:24:30 +0000 (00:24 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1685347 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_filters.c

index 834b3ba38dfb7030735a475ef97695d46bab5a5b..a4e0150423669e7d45c60044b33f758c4e152257 100644 (file)
@@ -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