From: André Malo Date: Wed, 28 Jan 2004 22:30:19 +0000 (+0000) Subject: catch another edge case X-Git-Tag: pre_ajp_proxy~758 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a9f556c22b91df99b2768401da426024107a4597;p=apache catch another edge case git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102437 13f79535-47bb-0310-9956-ffa450edef68 --- 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) {