From: Eric Covener Date: Sat, 3 Dec 2016 00:10:53 +0000 (+0000) Subject: Merge r1772418 from trunk: X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a265da6f65af37cbf8efec3685cc2e935795f759;p=thirdparty%2Fapache%2Fhttpd.git Merge r1772418 from trunk: loop in checking response headers w/ HTTPProtocolOptions Unsafe git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x-merge-http-strict@1772419 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/http_filters.c b/modules/http/http_filters.c index 63788d7d09b..10bbb995abe 100644 --- a/modules/http/http_filters.c +++ b/modules/http/http_filters.c @@ -722,6 +722,7 @@ static int check_header(void *arg, const char *name, const char *val) /* Simply terminate scanning on a CTL char, allowing whitespace */ test = val; do { + while (*test == ' ' || *test == '\t') test++; test = ap_scan_vchar_obstext(test); } while (*test == ' ' || *test == '\t'); }