From: Nick Kew Date: Wed, 13 Dec 2006 02:12:16 +0000 (+0000) Subject: PR#39420 X-Git-Tag: 2.3.0~1970 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4eb39584d9ff1a64565a9fb6303a733036cb0086;p=apache PR#39420 Use case-insensitive matching for resp=Content-Type (other uses of this var are in apr_table_get, so case is irrelevant). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@486455 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/filters/mod_filter.c b/modules/filters/mod_filter.c index e0a8966760..ae167178ce 100644 --- a/modules/filters/mod_filter.c +++ b/modules/filters/mod_filter.c @@ -638,7 +638,7 @@ static const char *filter_provider(cmd_parms *cmd, void *CFG, const char *args) } if ( (provider->dispatch == RESPONSE_HEADERS) - && !strcmp(str, "content-type")) { + && !strcasecmp(str, "content-type")) { provider->dispatch = CONTENT_TYPE; } provider->value = str;