diff options
author | André Malo <nd@apache.org> | 2004-01-28 22:30:19 +0000 |
---|---|---|
committer | André Malo <nd@apache.org> | 2004-01-28 22:30:19 +0000 |
commit | a9f556c22b91df99b2768401da426024107a4597 (patch) | |
tree | 038f31244e77ba2b8276f15228934cf0397e6cc7 /modules | |
parent | 3d60226a7987ae76951699bc16fd5bc687407bc1 (diff) | |
download | httpd-a9f556c22b91df99b2768401da426024107a4597.tar.gz |
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')
-rw-r--r-- | modules/metadata/mod_setenvif.c | 9 |
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) { |