https://issues.apache.org/bugzilla/show_bug.cgi?id=54126
Priority: P2
Bug ID: 54126
Assignee: [email protected]
Summary: Mod_rewrite failing because of url in query string
parameter
Severity: normal
Classification: Unclassified
Reporter: [email protected]
Hardware: PC
Status: NEW
Version: 2.5-HEAD
Component: mod_rewrite
Product: Apache httpd-2
I have this URL rewrite rule
RewriteRule ^(send-your-request.*)$ / [NC,L,QSA,R=301]
it should basically just remove "/send-your-request" from the the URL (i.e.
rewrite it with query string parameters from the domain i.e.
http://example.com/send-your-request/?a_aid=betty&pname=just%20a%20test
is rewritten to:
http://example.com/?a_aid=betty&pname=just%20a%20test
In that cases it works, but if I add the last parameter, it stops working
http://example.com/send-your-request/?a_aid=betty&pname=just%20a%20test&plink=http%3A%2F%2Fradio-eva.jp%2Fshop%2Fproducts%2Fdetail.php%3Fproduct_id%3D82
The final parameter is a url. If I change the url from "http://" to "htp://" it
will work. So apparently it's getting tripped up on the "http" part of that
parameter value. Really wish I had a workaround. This is breaking functionality
on a live ecommerce site. Also, I did test these rules with some online rewrite
rule tools, and they did not fail. But they do fail on my server. So I wonder
if the test tools are not modeling the bug.
--
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]