Just recently noticed that some sites link with the URL incorrectly percent-encoded, to which my server (LAMP) responds with a 404 Not Found.
For example, for a URL of mine like this:
http://www.site.com/page.php?param=value
They link to it like this:
http://www.site.com/page.php%3Fparam%3Dvalue
So:
- Who is wrong? My server for not understanding? or the linking site for not specifying the URL properly?
- Could something be done to configure Apache to understand the misencoded query string delimiter (
%3F
instead of?
)? - If not, would it be safe to setup redirects by translating the
%3F
to?
?