Closed
Bug 311300
Opened 19 years ago
Closed 19 years ago
non-ASCII characters in href link are converted to utf8 without respect to page encoding
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 284474
People
(Reporter: gouzhuang, Unassigned)
Details
Attachments
(1 file)
406 bytes,
text/plain
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4
non-ASCII characters(such as gb2312 encoded chars) in href link are converted to
utf8 before they are escaped, even if the page has specified charset encoding.
Reproducible: Always
Steps to Reproduce:
1. save the attached bug.html
2. point the browser at bug.html and click the link
3. the url displayed in the address bar is wrong
Actual Results:
file:///this_is_a_fake_link_with_chinese_chars_encoded_in_gb2312/%E4%B8%AD%E6%96%87%E5%AD%97%E7%AC%A6.html
Expected Results:
file:///this_is_a_fake_link_with_chinese_chars_encoded_in_gb2312/%D6%D0%CE%C4%D7%D6%B7%FB.html
Reporter | ||
Comment 1•19 years ago
|
||
Use this html page to reproduce the bug
Reporter | ||
Updated•19 years ago
|
Attachment #198658 -
Attachment mime type: text/html → text/plain
Comment 2•19 years ago
|
||
*** This bug has been marked as a duplicate of 284474 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•