From 4eb39584d9ff1a64565a9fb6303a733036cb0086 Mon Sep 17 00:00:00 2001 From: Nick Kew Date: Wed, 13 Dec 2006 02:12:16 +0000 Subject: [PATCH] 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 --- modules/filters/mod_filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.50.1