]> granicus.if.org Git - apache/commitdiff
Fix for mod_include's parsing of "/regexp/" expressions in
authorBrian Pane <brianp@apache.org>
Sat, 25 May 2002 04:06:35 +0000 (04:06 +0000)
committerBrian Pane <brianp@apache.org>
Sat, 25 May 2002 04:06:35 +0000 (04:06 +0000)
<!--#if directives
Submitted by: Julius Gawlas <julius_gawlas@hp.com>
Reviewed by: Brian Pane

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95277 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
modules/filters/mod_include.c

diff --git a/CHANGES b/CHANGES
index ff11dc268e9b5ee561ad7985bca394e7428f3f1b..b1947482b8943a8f26760c73610fa73d16d8e500 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,8 @@
 Changes with Apache 2.0.37
 
+  *) Fix mod_include's handling of regular expressions in
+     "<!--#if" directives [Julius Gawlas <julius_gawlas@hp.com>]
+
   *) Fix the worker MPM deadlock problem  [Brian Pane]
 
   *) Modify the module documentation to allow for translations.
index d8b993ab26a987789e23ee0188f493df9525e9c4..264e8ad1e65113994e190459221fb031fa67c10b 100644 (file)
@@ -1890,6 +1890,7 @@ static const char *get_ptoken(request_rec *r, const char *string,
                 if (ch == qs) {
                     qs = 0;
                     tkn_fnd = 1;
+                    string++;
                 }
                 else {
                     token->value[next++] = ch;