Closed
Bug 678699
Opened 14 years ago
Closed 8 years ago
URLs that contain characters that need encoding get copied as encoded instead of what is displayed
Categories
(Firefox :: Address Bar, defect)
Tracking
()
RESOLVED
INACTIVE
People
(Reporter: r_rom, Unassigned)
Details
(Whiteboard: dupeme)
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:8.0a1) Gecko/20110812 Firefox/8.0a1
Build ID: 20110812030744
Steps to reproduce:
If a URL contains Cyrillic characters (maybe other Unicode characters too), it gets copied and pasted as encoded, e.g.:
http://yandex.ru/yandsearch?text=%D0%BA%D0%B0%D0%BA+%D0%BA%D0%BB%D0%B0%D1%81%D1%82%D1%8C+%D0%BB%D0%B0%D0%BC%D0%B8%D0%BD%D0%B0%D1%82+%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE&lr=10130
This is bad. FF needs to retain the original encoding during copy/paste operations.
This has happened for many versions.
Comment 1•14 years ago
|
||
Verified on Win7 with FF5 and Nightly FF8.
Steps to reproduce:
1. Type in a URL in the URL bar such as:
http://www.mozilla.org/#☃
2. Press Ctrl+C
3. Press Ctrl+V
Actual results:
The URL bar contains:
http://www.brianbondy.com/#%E2%98%83
Expected results:
The URL bar should contain:
http://www.mozilla.org/#☃
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•14 years ago
|
||
oops actual results should read:
http://www.mozilla.org/#%E2%98%83
I also confirmed on OSX
Comment 3•14 years ago
|
||
More info:
- The problem only happens if the URL is loaded and then you copy.
- The clipboard actually contains the wrong URL right from the copy because if you paste it in another program it has the same handling.
Comment 4•14 years ago
|
||
Problem is more generalized than just unicode characters. The same thing happens for anything that needs encoding to be a proper URL. Such as http://www.mozilla.org/#Hello hello2
It will display as #Hello hello2 but will be copied out as the encoded variant not the display variant.
Updated•14 years ago
|
Summary: URL that contains Cyrillic letters gets copied with garbage characters → URLs that contain characters that need encoding get copied as encoded instead of what is displayed
Updated•14 years ago
|
Assignee: nobody → netzen
Updated•14 years ago
|
Whiteboard: dupeme
Updated•12 years ago
|
Assignee: netzen → nobody
Comment 5•8 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: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INACTIVE
You need to log in
before you can comment on or make changes to this bug.
Description
•