Closed Bug 1657526 Opened 5 years ago Closed 5 years ago

Copy from URLbar adds extra http:// with decodeURLsOnCopy

Categories

(Firefox :: Address Bar, defect, P2)

79 Branch
defect
Points:
2

Tracking

()

VERIFIED FIXED
82 Branch
Iteration:
81.1 - July 27 - Aug 09
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- wontfix
firefox79 --- wontfix
firefox80 --- wontfix
firefox81 --- verified
firefox82 --- verified

People

(Reporter: Webmaster, Assigned: mak)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

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:

  1. In about:config set browser.urlbar.decodeURLsOnCopy=true;
  2. Browse to an https: site that does not include a www hostname -- e.g.:
  1. Select the page URL in the URLbar and Copy to clipboard;
  2. 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.:

Component: Untriaged → Address Bar

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.

Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
Priority: -- → P2
Regressed by: 1647200
Has Regression Range: --- → yes

And this is why preferences are expensive :)

Assignee: nobody → mak
Status: NEW → ASSIGNED
Iteration: --- → 81.1 - July 27 - Aug 09
Points: --- → 2

Set release status flags based on info from the regressing bug 1647200

We're in the last week of beta 80 and this isn't new so marking as fix-optional.

www-domains are affected too
http://https://www.reddit.com

Summary: Copy from URLbar adds extra http:// for non-www domains → Copy from URLbar adds extra http:// with decodeURLsOnCopy
Pushed by mak77@bonardo.net: https://hg.mozilla.org/integration/autoland/rev/24a573cb3cac Copy from URLbar adds extra http:// with decodeURLsOnCopy. r=dao
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch

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:
Attachment #9172334 - Flags: approval-mozilla-beta?
Flags: qe-verify+

Comment on attachment 9172334 [details]
Bug 1657526 - Copy from URLbar adds extra http:// with decodeURLsOnCopy. r=dao

Approved for 81.0b4.

Attachment #9172334 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-triaged]

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.

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-triaged]
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: