https://bz.apache.org/bugzilla/show_bug.cgi?id=66547
Bug ID: 66547
Summary: emptying query strings broken
Product: Apache httpd-2
Version: 2.4.56
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_rewrite
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Redirects that remove the query string doesn't work anymore.
RewriteCond %{QUERY_STRING} "q\=([0-9]+)"
RewriteRule ^(.*)$ $1? [R=301,L]
This will add %3f to the URL since 2.4.56.
With NE flag set ? will be added to the URL.
2.4.54 /test?q=123 -> /test
2.4.56 /test?q=123 -> /test%3f
2.4.56 NE /test?q=123 -> /test?
Debian Bug:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033284
--
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]