www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitry Rubinstein <dim...@wisdom.weizmann.ac.il>
Subject mod_include/1921: '$' is not recognized as 'end of line' in regex matching
Date Sat, 07 Mar 1998 11:31:58 GMT

>Number:         1921
>Category:       mod_include
>Synopsis:       '$' is not recognized as 'end of line' in regex matching
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sat Mar  7 03:40:00 PST 1998
>Last-Modified:
>Originator:     dimrub@wisdom.weizmann.ac.il
>Organization:
apache
>Release:        1.2.5
>Environment:
Linux 2.0.32 #11 on i686 (redhat 5.0)
gcc version 2.7.2.3
>Description:
In the "<!--#if expr=" clause, the $ ('end of line') is not matched on Linux.
It is matched, however, on Sun4 machine.
>How-To-Repeat:
The HTML code is as following:

<!--#if expr="$DOCUMENT_URI = /^\/~[a-z]*$/" -->
<h1>IF</h1>
<!--#else -->
<h1>ELSE</h1>
<!--#endif -->

Here is the URL on Linux machine ($ is not matched):

http://bach.wisdom.weizmann.ac.il/~dimrub/missing.html

Here is the same file on Sun4 machine ($ is matched correctly):

http://www.wisdom.weizmann.ac.il/~dimrub/missing.html
>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]




Mime
View raw message