1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-06 09:01:14 +03:00

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
This commit is contained in:
Yann Ylavic
2015-06-14 00:24:30 +00:00
parent 8b96b3b3ce
commit 292da9775a

View 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