I\'m currently trying to place a URL within a URL. For example:
http://example.com/url/http%3A%2F%2Fwww.url2.com
I\'m aware that I have to
I wasted a great many hours on this problem too. I'm a bit late to the party, but it seems there's a solution now.
As per this thread, there is (was) a bug in Apache such that if you have AllowEncodedSlashes On
, it prevents the 404, but it mistakenly decodes the slashes, which is incorrect according to the RFC.
This comment offers a solution, namely to use:
AllowEncodedSlashes NoDecode