Created attachment 29852 [details] make the "ProxyHTMLFixups" options case insensitive Hi, The "ProxyHTMLFixups" in mod_proxy uses case sensitive string comparison function, i.e., strcmp, which conflicts with the case insensitivity of Apache's configuration design. According to my understanding, httpd champions case insensitivity for both configuration directive and configuration options, e.g., "ProxyHTMLDoctype". The fix is straightforward as follows: --- modules/filters/mod_proxy_html.c 2013-01-14 23:32:03.289572774 -0800 +++ modules/filters/mod_proxy_html.c 2013-01-14 23:32:27.477573349 -0800 @@ -1142,11 +1142,11 @@ { 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;
Fixed in trunk. r1464762 Thanks for the report.
Backported to v2.4.5.