Closed
Bug 575061
Opened 14 years ago
Closed 6 years ago
wrong encoding saved in history
Categories
(Firefox :: Address Bar, defect)
Tracking
()
RESOLVED
INACTIVE
People
(Reporter: xuefer, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; zh-CN; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; zh-CN; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6 about:config network.standard-url.encode-query-utf8;false network.standard-url.encode-utf8;true network.standard-url.escape-utf8;true prefs.converted-to-utf8;false (all above is in default value) google shows wrong query Reproducible: Always Steps to Reproduce: 1. set g as keyword for google 2. g 火狐, url opened 3. clear address bar, type 火狐 4. select the first url in drop down list box Actual Results: for step 2: url opened, address bar shows: "http://www.google.com/search?q=火狐&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:zh-CN:official&client=firefox-a" when i copy it and paste it, it's "http://www.google.com/search?q=%E7%81%AB%E7%8B%90&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:zh-CN:official&client=firefox-a" FYI: %E7%81%AB%E7%8B%90 is "火狐" -> utf8 -> urlencode for step 3: the following address is shown in drop down list box "http://www.google.com/search?q=火狐&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:zh-CN:official&client=firefox-a" for step 4: the following url is opened "http://www.google.com/search?q=%BB%F0%BA%FC&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:zh-CN:official&client=firefox-a" FIY: "%BB%F0%BA%FC" was encoded from "火狐" -> GBK -> urlencode Expected Results: the actual result for step 1 2 3 is what i expected for step 4, i expect it to open "http://www.google.com/search?q=%E7%81%AB%E7%8B%90&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:zh-CN:official&client=firefox-a" the utf8 url encoded of q yes, i know, u may say that i should set network.standard-url.encode-query-utf8 to true, in which way i can't reproduce. but this is not acceptable as it will break all http-get forms in non utf-8 sites btw, i don't have problem opening url from history
Updated•13 years ago
|
Version: unspecified → 3.6 Branch
Comment 1•6 years ago
|
||
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
You need to log in
before you can comment on or make changes to this bug.
Description
•