httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 53023] mod_rewrite RewriteCond parser error and documentation inconsistency
Date Tue, 03 Apr 2012 08:22:04 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53023

--- Comment #6 from Axel Reinhold <apache@freakout.de> 2012-04-03 08:22:04 UTC ---
You are right - all the -Xfoo fail when X is one of the allowed one-letter
options. Next try:

--- modules/mappers/mod_rewrite.c.orig        Thu Jan 26 20:15:41 2012
+++ modules/mappers/mod_rewrite.c     Tue Apr  3 10:16:01 2012
@@ -3253,6 +3253,10 @@
             case 'L': newcond->ptype = CONDPAT_FILE_LINK;   break;
             case 'U': newcond->ptype = CONDPAT_LU_URL;      break;
             case 'F': newcond->ptype = CONDPAT_LU_FILE;     break;
+            }
+        }
+        else if (*a2 == '-') {
+            switch (a2[1]) {
             case 'l': if (a2[2] == 't')
                           a2 += 3, newcond->ptype = CONDPAT_INT_LT;
                       else if (a2[2] == 'e')

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message