Parameters in search engine URLs need to be encoded

signe

10-03-2009 11:18:39

The parameters passed to search engines need to be URL encoded to be handled properly. For instance, if you search for an episode of "Law & Order", the search fails, because "&" denotes a new URL parameter.

Non-alphanumeric characters should be encoded into their % equivalents. i.e. space is %20, & is %26, / is %2F, : is %3A, etc.

% followed by the hex value of the character.

sstteevvee

10-03-2009 14:57:18

You're right. I'll fix it in the next release.

interfacelift

14-09-2009 06:15:28

Was this fixed? I am running the most recent beta and my searches for Law & Order are failing due to the & being passed as-is.

sstteevvee

14-09-2009 20:22:33

Oops, sorry. No, it wasn't. I've just fixed it now, so will be in the next version I put up.

Edit: 2.2.0a7 uploaded. Download from here.