>Number:         3864
>Category:       mod_include
>Synopsis:       parentheses in regular expression of if expr -> error
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Feb  9 04:50:01 PST 1999
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.3.4
>Environment:
OS: Linux 2.0.36 (S.u.S.E. 6.0) on Intel PC
Compiler: Output from gcc -v:
  Reading specs from /usr/lib/gcc-lib/i486-linux/egcs-2.91.60/specs
  gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)
  
>Description:
The include statement

<!--#if expr="$HTTP_USER_AGENT=/Mozilla\/(.)/" -->
arbitrary text/statement here
<!--#endif -->

results in the error: [an error occurred while processing this directive]
The error log contains the statement:
Invalid expression "$HTTP_USER_AGENT=/Mozilla\/(.)/" in file ...

Without the parentheses () the expression works fine, but I want to use
the reference later.
>How-To-Repeat:
see full description
>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]



Reply via email to