%
is a reserved character and should not be used for anything except percent encoding.
If you really need to pass the character on your url, use %25
Domanda
All the URLs ending with % is giving following error
"Bad Request,Your browser sent a request that this server could not understand."
I have redesigned my website and earlier as per my google analytics URLs ending with % was running.
I want to mention that I tried using same old htaccess but was not able to fix it. Other important change which I made was in hosting where I have pointed my server into a sub folder or the root.
Please help me in fixing it
Soluzione
%
is a reserved character and should not be used for anything except percent encoding.
If you really need to pass the character on your url, use %25
Altri suggerimenti
Try this: 400 Bad Request when URL ends with % (move your mouse over it and look at the URL, it's the URL of this page with a % added to it!)
The problem is probably that the % is used as an escape character for special signs like spaces or non latin characters, and the browser expects a code behind it.