httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n..@apache.org
Subject svn commit: r486455 - /httpd/httpd/trunk/modules/filters/mod_filter.c
Date Wed, 13 Dec 2006 02:12:17 GMT
Author: niq
Date: Tue Dec 12 18:12:16 2006
New Revision: 486455

URL: http://svn.apache.org/viewvc?view=rev&rev=486455
Log:
PR#39420
Use case-insensitive matching for resp=Content-Type
(other uses of this var are in apr_table_get, so case is irrelevant).

Modified:
    httpd/httpd/trunk/modules/filters/mod_filter.c

Modified: httpd/httpd/trunk/modules/filters/mod_filter.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/mod_filter.c?view=diff&rev=486455&r1=486454&r2=486455
==============================================================================
--- httpd/httpd/trunk/modules/filters/mod_filter.c (original)
+++ httpd/httpd/trunk/modules/filters/mod_filter.c Tue Dec 12 18:12:16 2006
@@ -638,7 +638,7 @@
     }
 
     if (   (provider->dispatch == RESPONSE_HEADERS)
-        && !strcmp(str, "content-type")) {
+        && !strcasecmp(str, "content-type")) {
         provider->dispatch = CONTENT_TYPE;
     }
     provider->value = str;



Mime
View raw message