Bug 50447 - mod_rewrite re-escapes query string too liberally
Summary: mod_rewrite re-escapes query string too liberally
Status: RESOLVED FIXED
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_rewrite (show other bugs)
Version: 2.5-HEAD
Hardware: PC Linux
: P2 normal with 3 votes (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords: FixedInTrunk
Depends on:
Blocks:
 
Reported: 2010-12-09 17:02 UTC by Eric Covener
Modified: 2012-02-26 17:09 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Covener 2010-12-09 17:02:13 UTC
When an absolute URI is substituted [redirect], mod_rewrite tries to escape the query string even if it was unchanged by the substitution. 

But the internal form (r->args) was never unescaped, so if the user did not substitute a query string this should act as if [NE] was present.
Comment 1 Eric Covener 2010-12-11 19:00:17 UTC
http://svn.apache.org/viewvc?rev=1044673&view=rev
Comment 2 Stefan Fritsch 2012-02-26 17:09:32 UTC
fixed in 2.4.1