From 3d65aa71efc09750974312957c975f3b7ddebf07 Mon Sep 17 00:00:00 2001 From: Brian Pane Date: Sat, 30 Nov 2002 21:48:12 +0000 Subject: [PATCH] =?utf8?q?Fix=20for=20BrowserMatchNoCase,=20which=20was=20?= =?utf8?q?incorrectly=20treating=20non-regex=20patterns=20as=20case-sensit?= =?utf8?q?ive=20Submitted=20by:=09Andr=EF=BF=BD=EF=BF=BD=20Malo=20Reviewed?= =?utf8?q?=20by:=09Brian=20Pane?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97705 13f79535-47bb-0310-9956-ffa450edef68 --- modules/metadata/mod_setenvif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/metadata/mod_setenvif.c b/modules/metadata/mod_setenvif.c index 0ec8171534..1149030973 100644 --- a/modules/metadata/mod_setenvif.c +++ b/modules/metadata/mod_setenvif.c @@ -342,7 +342,7 @@ static const char *add_setenvif_core(cmd_parms *cmd, void *mconfig, new->icase = icase; if ((simple_pattern = non_regex_pattern(cmd->pool, regex))) { new->pattern = apr_strmatch_precompile(cmd->pool, - simple_pattern, 1); + simple_pattern, !icase); if (new->pattern == NULL) { return apr_pstrcat(cmd->pool, cmd->cmd->name, " pattern could not be compiled.", NULL); -- 2.40.0