From a265da6f65af37cbf8efec3685cc2e935795f759 Mon Sep 17 00:00:00 2001 From: Eric Covener Date: Sat, 3 Dec 2016 00:10:53 +0000 Subject: [PATCH] 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 --- modules/http/http_filters.c | 1 + 1 file changed, 1 insertion(+) 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'); } -- 2.47.2