Copy from URLbar adds extra http:// with decodeURLsOnCopy
Categories
(Firefox :: Address Bar, defect, P2)
Tracking
()
People
(Reporter: Webmaster, Assigned: mak)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
|
47 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:79.0) Gecko/20100101 Firefox/79.0
Steps to reproduce:
Using Firefox 79.0 on Windows 10:
- In
about:configsetbrowser.urlbar.decodeURLsOnCopy=true; - Browse to an https: site that does not include a
wwwhostname -- e.g.:
- Select the page URL in the URLbar and Copy to clipboard;
- Paste the clipboard anywhere convenient.
Actual results:
Pasted URL is prepended with an extra http:// -- e.g.:
Expected results:
URL should be copied to clipboard as shown in URLbar -- e.g.:
Updated•5 years ago
|
Comment 1•5 years ago
|
||
Thanks for reporting this. I can reproduce it on 79 and Nightly. I verified that this is a regression from bug 1647200, but that bug is also about this same thing.
Updated•5 years ago
|
| Assignee | ||
Comment 2•5 years ago
|
||
And this is why preferences are expensive :)
Comment 3•5 years ago
|
||
Set release status flags based on info from the regressing bug 1647200
Updated•5 years ago
|
Comment 4•5 years ago
|
||
We're in the last week of beta 80 and this isn't new so marking as fix-optional.
Comment 6•5 years ago
|
||
www-domains are affected too
http://https://www.reddit.com
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 7•5 years ago
|
||
Comment 9•5 years ago
|
||
| bugherder | ||
| Assignee | ||
Comment 10•5 years ago
|
||
Comment on attachment 9172334 [details]
Bug 1657526 - Copy from URLbar adds extra http:// with decodeURLsOnCopy. r=dao
Beta/Release Uplift Approval Request
- User impact if declined: Copying a url when the decodeURLsOnCopy pref is set adds an unwanted double protocol
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: Steps are in comment 0
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): The change is very simple and has a test
- String changes made/needed:
| Assignee | ||
Updated•5 years ago
|
Comment 11•5 years ago
|
||
| bugherder uplift | ||
Comment 12•5 years ago
|
||
Comment on attachment 9172334 [details]
Bug 1657526 - Copy from URLbar adds extra http:// with decodeURLsOnCopy. r=dao
Approved for 81.0b4.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 13•5 years ago
|
||
Confirming issue as verified fixed on latest Nightly 82.0a1 (20200830213209) and Beta 81.0b4 (20200829200810) on Windows 10 x64bit and MacOS 10.14.6.
Description
•