httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1136966 - /httpd/httpd/trunk/modules/mappers/mod_rewrite.c
Date Fri, 17 Jun 2011 18:14:45 GMT
Author: jim
Date: Fri Jun 17 18:14:45 2011
New Revision: 1136966

URL: http://svn.apache.org/viewvc?rev=1136966&view=rev
Log:
revert this... sorry

Modified:
    httpd/httpd/trunk/modules/mappers/mod_rewrite.c

Modified: httpd/httpd/trunk/modules/mappers/mod_rewrite.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/mappers/mod_rewrite.c?rev=1136966&r1=1136965&r2=1136966&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/mappers/mod_rewrite.c (original)
+++ httpd/httpd/trunk/modules/mappers/mod_rewrite.c Fri Jun 17 18:14:45 2011
@@ -3317,7 +3317,7 @@ static const char *cmd_rewritecond(cmd_p
     newcond->pskip = a2 - newcond->pattern;
     newcond->pattern += newcond->pskip;
 
-    if (!newcond->ptype) {
+    if (newcond->ptype == CONDPAT_REGEX) {
         regexp = ap_pregcomp(cmd->pool, a2,
                              AP_REG_EXTENDED | ((newcond->flags & CONDFLAG_NOCASE)
                                              ? AP_REG_ICASE : 0));



Mime
View raw message