legege / searchboxsync

Update the search bar automatically from wherever you search
4 stars 2 forks source link

URL-encoded words appear in search box when users click link of search result on Google #17

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Search on Google with multi bytes characters.
2. Click any links on search results.
3.

What is the expected output? What do you see instead?
Human readable words are expected, but URL-encoded words appear for multi bytes 
characters in search box.

What version of the product are you using? On what operating system?
1.4.0 on Firefox 7.0.1 Windows 7

Please provide any additional information below.
The search results of Google are linked to their redirecting URL, which is 
"http://www.google.com/url?(some parameters)&q=(double URL-encoded search 
words)". Somehow Google encodes search words twice. SearchBox Sync tries to 
sync with them and decode once. As a result, URL-encoded words appear.

This issue did not happen until couple of days ago. It looks Google changed 
their behavior.

ASCII characters are not affected because they are out of scope of 
URL-encoding. It might be hard for people using English to notice this issue, 
so I would like to give you a heads-up as a multi bytes language user.

Thanks,

Original issue reported on code.google.com by asirb...@gmail.com on 23 Oct 2011 at 6:43