You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ji...@apache.org on 2011/09/04 21:36:16 UTC

svn commit: r1165099 - in /httpd/httpd/branches/2.2.x: STATUS modules/filters/mod_filter.c

Author: jim
Date: Sun Sep  4 19:36:16 2011
New Revision: 1165099

URL: http://svn.apache.org/viewvc?rev=1165099&view=rev
Log:
PR 51434

Modified:
    httpd/httpd/branches/2.2.x/STATUS
    httpd/httpd/branches/2.2.x/modules/filters/mod_filter.c

Modified: httpd/httpd/branches/2.2.x/STATUS
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/STATUS?rev=1165099&r1=1165098&r2=1165099&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/STATUS (original)
+++ httpd/httpd/branches/2.2.x/STATUS Sun Sep  4 19:36:16 2011
@@ -93,12 +93,6 @@ RELEASE SHOWSTOPPERS:
 PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
   [ start all new proposals below, under PATCHES PROPOSED. ]
 
-  * mod_filter: fix parsing of regexps containing slashes
-    PR 51434 (and 51435, which includes the fix)
-    Trunk patch: N/A
-    2.2.x patch: https://issues.apache.org/bugzilla/attachment.cgi?id=27229
-    +1: niq, sf, trawick
-
   * Adjust inflated log severity.
     PR: 44020
     Trunk patch: Was never in trunk.

Modified: httpd/httpd/branches/2.2.x/modules/filters/mod_filter.c
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/modules/filters/mod_filter.c?rev=1165099&r1=1165098&r2=1165099&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/modules/filters/mod_filter.c (original)
+++ httpd/httpd/branches/2.2.x/modules/filters/mod_filter.c Sun Sep  4 19:36:16 2011
@@ -581,7 +581,7 @@ static const char *filter_provider(cmd_p
         break;
     case '/':
         provider->match_type = REGEX_MATCH;
-        rxend = ap_strchr_c(match, '/');
+        rxend = ap_strrchr_c(match, '/');
         if (!rxend) {
               return "Bad regexp syntax";
         }