There are many similar questions here, but I have not found anyone to help me. Basically, I have a line like this:
Collections/Linkin Park/Dead By Sunrise (2009) %2B Album Cover
The string is part of a longer URL, and this particular part is assigned to the $ _GET array using .htaccess RewriteRule. When I repeat the line stored in $ _GET, I get:
Collections/Linkin Park/Dead By Sunrise (2009) Album Cover
% 2B just disappears (three spaces are displayed in the web page source). Why is this? And how can I prevent this?
This is only a mistake with +. I know php treats + as a space, but should not when it is encoded.
source
share