From 16519a4d5a1f8a14fd1c704bf8d69dca38d23963 Mon Sep 17 00:00:00 2001 From: Nick Kew Date: Fri, 16 Nov 2007 14:27:11 +0000 Subject: [PATCH] r595672 was incomplete. We need to be sure we reject multiple-encodings. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@595678 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http/http_filters.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/http/http_filters.c b/modules/http/http_filters.c index 69a4b927fd..2f1764d98f 100644 --- a/modules/http/http_filters.c +++ b/modules/http/http_filters.c @@ -116,7 +116,7 @@ apr_status_t ap_http_filter(ap_filter_t *f, apr_bucket_brigade *b, if (tenc) { /* RFC2616 allows qualifiers, so use strncasecmp */ - if (!strncasecmp(tenc, "chunked", 7)) { + if (!strncasecmp(tenc, "chunked", 7) && !ap_strchr_c(tenc, ',')) { ctx->state = BODY_CHUNK; } else { -- 2.50.1