Closed (fixed)
Project:
Provision
Version:
6.x-1.6
Component:
HTTP Service
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
6 Jan 2012 at 13:39 UTC
Updated:
12 Jun 2014 at 08:41 UTC
Jump to comment: Most recent
Suppose you have a site: www.example.com, with a URL alias for example.com then requesting a URL like:
example.com/url-with-%25-percentage-symbol
then this get 301'd to:
www.example.com/url-with-%2525-percentage-symbol
As the percent symbol is escaped by the mod_rewrite.
The solution is to use the NE flag in the RewriteRule directive in the htaccess.
Is this the correct solution? (It works btw)
Comments
Comment #1
Anonymous (not verified) commentedThis seems reasonable to me and is the intended use of NE. I've no problem with that.
I'll leave to anarcat to weigh in if he foresees any problem here
Comment #2
steven jones commentedAnarcat mentioned in IRC that it looked fine.
Comment #3
steven jones commentedFix pushed to all branches.