diff options
author | Eric Covener <covener@apache.org> | 2016-12-03 00:10:53 +0000 |
---|---|---|
committer | Eric Covener <covener@apache.org> | 2016-12-03 00:10:53 +0000 |
commit | a265da6f65af37cbf8efec3685cc2e935795f759 (patch) | |
tree | eb7053f02f3e48d5a5660120f1085e66c19c7ed4 | |
parent | 8dc6b9fc4f6302364ab826c9f6ccae84de33b6ca (diff) | |
download | httpd-a265da6f65af37cbf8efec3685cc2e935795f759.tar.gz |
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
-rw-r--r-- | modules/http/http_filters.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/http/http_filters.c b/modules/http/http_filters.c index 63788d7d09..10bbb995ab 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'); } |