You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2013/04/04 23:03:03 UTC

svn commit: r1464762 - /httpd/httpd/trunk/modules/filters/mod_proxy_html.c

Author: jailletc36
Date: Thu Apr  4 21:03:03 2013
New Revision: 1464762

URL: http://svn.apache.org/r1464762
Log:
make the "ProxyHTMLFixups" options case insensitive in mod_proxy_html
PR 54420 reported by Tianyin Xu [tixu cs ucsd edu]

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

Modified: httpd/httpd/trunk/modules/filters/mod_proxy_html.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/mod_proxy_html.c?rev=1464762&r1=1464761&r2=1464762&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/filters/mod_proxy_html.c (original)
+++ httpd/httpd/trunk/modules/filters/mod_proxy_html.c Thu Apr  4 21:03:03 2013
@@ -1148,11 +1148,11 @@ static const char *set_flags(cmd_parms *
 {
     proxy_html_conf *cfg = CFG;
     if (arg && *arg) {
-        if (!strcmp(arg, "lowercase"))
+        if (!strcasecmp(arg, "lowercase"))
             cfg->flags |= NORM_LC;
-        else if (!strcmp(arg, "dospath"))
+        else if (!strcasecmp(arg, "dospath"))
             cfg->flags |= NORM_MSSLASH;
-        else if (!strcmp(arg, "reset"))
+        else if (!strcasecmp(arg, "reset"))
             cfg->flags |= NORM_RESET;
     }
     return NULL;