plus character in forms
Posted on 2009-02-17
So, I have this gaming site, and people have a search form where they can search for game titles. Yesterday, I found a bug with this and I'm unsure where the bug is - with the browser or if there is something I can do.
There is a game called "N+", which is its complete title. But, when searching for that using a form that has GET as the method, the resulting URL will be:
That may look right, but "+" in url's are treated as spaces (even though an url encoded space is %20) and as such, that url would send the value "N " as the search string, which of course wouldn't match the games.
Is there anyting one can do to remedy this?