From 5f3cc01a3b68c791b91557fd3db7d78ac1b72ffb Mon Sep 17 00:00:00 2001 From: Nick Kew Date: Fri, 15 Dec 2006 21:33:07 +0000 Subject: [PATCH] PR#39420, make matching on resp=Content-Type case-insensitive. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@487676 13f79535-47bb-0310-9956-ffa450edef68 --- STATUS | 4 ---- modules/filters/mod_filter.c | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/STATUS b/STATUS index fe624a6b536..9ccb6d785e5 100644 --- a/STATUS +++ b/STATUS @@ -78,10 +78,6 @@ RELEASE SHOWSTOPPERS: PATCHES ACCEPTED TO BACKPORT FROM TRUNK: [ start all new proposals below, under PATCHES PROPOSED. ] - * mod_filter: PR#39420, make matching on resp=Content-Type case-insensitive. - http://svn.apache.org/viewvc?view=rev&revision=486455 - +1: niq, trawick, rpluem - PATCHES PROPOSED TO BACKPORT FROM TRUNK: * mpm_winnt: Fix return values from wait_for_many_objects. diff --git a/modules/filters/mod_filter.c b/modules/filters/mod_filter.c index e0a89667608..ae167178ce1 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.47.2