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

--- Comment #5 from abernal <[email protected]> ---
Reproduced on trunk: with `RewriteCond %{QUERY_STRING} >B`, the query string
`AAA` makes the condition true, and `<B` is false for it. With `[NC]` the
result is correct. compare_lexicography() compares the length of the two
strings first and the characters only if the lengths are equal.

Proposed fix, with a test: https://github.com/apache/httpd/pull/873

It changes the result for anyone who compares strings of different lengths with
these operators, so this needs a decision on the historical behaviour mentioned
in comment 1.

-- 
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