From 48c6af9348c0e48ec274befb46cb147d713c10b9 Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Thu, 4 Apr 2013 21:03:03 +0000 Subject: [PATCH] make the "ProxyHTMLFixups" options case insensitive in mod_proxy_html 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/filters/mod_proxy_html.c b/modules/filters/mod_proxy_html.c index 7906645a67..523c0bf4f5 100644 --- a/modules/filters/mod_proxy_html.c +++ b/modules/filters/mod_proxy_html.c @@ -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; -- 2.40.0