You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2023/03/30 19:41:42 UTC

[Bug 66547] New: emptying query strings broken

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: bugs@httpd.apache.org
          Reporter: robert.willert@conceptpeople.de
  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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 66547] emptying query strings broken

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66547

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Eric Covener <co...@gmail.com> ---
Thanks for reporting, if you have the ability to give this fix a try:
http://svn.apache.org/viewvc?view=revision&revision=1908813

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 66547] emptying query strings broken

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66547

--- Comment #3 from Eric Covener <co...@gmail.com> ---
Is queued up for 2.4.57

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 66547] emptying query strings broken

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66547

Robert Willert <ro...@conceptpeople.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEEDINFO                    |RESOLVED

--- Comment #2 from Robert Willert <ro...@conceptpeople.de> ---
I tested the current trunk version.
The query string is removed.
thx

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org