https://bz.apache.org/bugzilla/show_bug.cgi?id=63919

Vincent Caron <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|=                           |=CondPattern
                   |                            |(lexicographically equal)
                   |                            |does not seem to work with
                   |                            |usual double quoting

--- Comment #1 from Vincent Caron <[email protected]> ---
This simple snippet is valid (quoted arg as regex) :

RewriteEngine On
RewriteCond "%{HTTP_USER_AGENT}" "Foo Bar"
RewriteRule . - [F,L]


This other one is fine (and clearly documented) :

RewriteEngine On
RewriteCond "%{HTTP_USER_AGENT}" =""
RewriteRule . - [F,L]

But this one fails with a "RewriteCond: bad flag delimiters" error, and can
only be fixed by escaping spaces on the condpattern :

RewriteEngine On
RewriteCond "%{HTTP_USER_AGENT}" ="Foo Bar"
RewriteRule . - [F,L]

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to