Google Product Forums
Re: Replacing %20 with a space
Nov 24, 2011 4:53 PM
Posted in group:
Discuss issues related to your accounts, reports and data
it is a known bug... I have no idea why it is still there. It has been reported so many times already without any reaction from google...
anyway.. the solution is simple: In the code for showing search results add one more decodeURIComponent() on line 10 of the code.
To be clear... find this line:
return decodeURIComponent(keyvaluepair.replace(/\+/g, ' '));
and replace it with this one:
return decodeURIComponent(decodeURIComponent(keyvaluepair.replace(/\+/g, ' ')));