]> granicus.if.org Git - apache/commitdiff
make the "ProxyHTMLFixups" options case insensitive in mod_proxy_html
authorChristophe Jaillet <jailletc36@apache.org>
Thu, 4 Apr 2013 21:03:03 +0000 (21:03 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Thu, 4 Apr 2013 21:03:03 +0000 (21:03 +0000)
PR 54420 reported by Tianyin Xu [tixu cs ucsd edu]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1464762 13f79535-47bb-0310-9956-ffa450edef68

modules/filters/mod_proxy_html.c

index 7906645a6710dcc69c0a48a0dcbdada4aed02a5a..523c0bf4f5c4e62c6257e464ec921332167dcc86 100644 (file)
@@ -1148,11 +1148,11 @@ static const char *set_flags(cmd_parms *cmd, void *CFG, const char *arg)
 {
     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;