summaryrefslogtreecommitdiffstats
path: root/modules/metadata
diff options
context:
space:
mode:
authorAndré Malo <nd@apache.org>2004-01-28 23:30:19 +0100
committerAndré Malo <nd@apache.org>2004-01-28 23:30:19 +0100
commita9f556c22b91df99b2768401da426024107a4597 (patch)
tree038f31244e77ba2b8276f15228934cf0397e6cc7 /modules/metadata
parentsync (diff)
downloadapache2-a9f556c22b91df99b2768401da426024107a4597.tar.xz
apache2-a9f556c22b91df99b2768401da426024107a4597.zip
catch another edge case
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102437 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/metadata')
-rw-r--r--modules/metadata/mod_setenvif.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/modules/metadata/mod_setenvif.c b/modules/metadata/mod_setenvif.c
index 9865cf7396..d4a562a8ce 100644
--- a/modules/metadata/mod_setenvif.c
+++ b/modules/metadata/mod_setenvif.c
@@ -259,8 +259,13 @@ static const char *non_regex_pattern(apr_pool_t *p, const char *s)
in_escape = 0;
break;
case '\\':
- in_escape = 1;
- escapes_found = 1;
+ if (!in_escape) {
+ in_escape = 1;
+ escapes_found = 1;
+ }
+ else {
+ in_escape = 0;
+ }
break;
default:
if (in_escape) {