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 33892] New: - escape char ( \) in regexps in SSI exprs is automatically doubled.
Date Tue, 08 Mar 2005 07:33:03 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33892>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33892

           Summary: escape char ( \)  in regexps in  SSI exprs is
                    automatically doubled.
           Product: Apache httpd-2.0
           Version: 2.0.52
          Platform: Macintosh
               URL: http://www.cs.rice.edu/~rjf
        OS/Version: Mac OS X 10.3
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_include
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: rjf@cs.rice.edu


SCRIPT_URL=/~rjf/stuff/testversion.shtml
SCRIPT_URI=http://www.cs.rice.edu/~rjf/stuff/testversion.shtml
HTTP_HOST=www.cs.rice.edu HTTP_USER_AGENT=Mozilla/5.0 (X11; U; Linux i686;
en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
HTTP_ACCEPT=text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
HTTP_ACCEPT_LANGUAGE=en-us,en;q=0.5 HTTP_ACCEPT_ENCODING=gzip,deflate
HTTP_ACCEPT_CHARSET=ISO-8859-1,utf-8;q=0.7,*;q=0.7 HTTP_KEEP_ALIVE=300
HTTP_CONNECTION=keep-alive PATH=/bin:/sbin:/usr/bin:/usr/sbin
SERVER_SIGNATURE=<address>Apache/2.0.52 (Unix) DAV/2 Server at www.cs.rice.edu
Port 80</address> SERVER_SOFTWARE=Apache/2.0.52 (Unix) DAV/2 
For 5 years, stuff like:

<!--#if expr="$pg_path = /[^/]+\/[^/]+\/[^/]+/" -->
   <!--#set var="backleader" value="../../.." -->

"just worked".

Our webserver recently got replaced with a Mac OS X server running
apache 2.0.52.  The regexp above becomes an "Invalid expression" because 
all the \'s get automagically escaped (doubled) themselves, leaving an 
invalid expression.  Futzing with single quotes, etc has produced no joy.

Local administrators are baffled.

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

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


Mime
View raw message