You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ni...@apache.org on 2006/12/13 03:12:17 UTC

svn commit: r486455 - /httpd/httpd/trunk/modules/filters/mod_filter.c

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;