Open Bug 1903266 Opened 11 days ago Updated 10 days ago

Copied URL from loading new tab does not include https:// scheme

Categories

(Firefox :: Address Bar, defect)

defect

Tracking

()

People

(Reporter: maltejur, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

To reproduce:

  1. Open https://httpstat.us/200?sleep=5000 in a new tab
  2. While the page is loading, copy the URL from the loading tab

Expected result: The clipboard contains https://httpstat.us/200?sleep=5000
Actual result: The clipboard contains httpstat.us/200?sleep=5000

I cannt reproduce this, if I click on the url and ctrl+C.
Did you reproduce in Nightly?
How do you focus the urlbar and copy?

Flags: needinfo?(mjurgens)

I can reproduce this in a fresh profile in the 2024-06-17 Nightly build, I have attached a screen recording of this happening. I have tried the following methods to copy the URL and always get the same URL without a scheme:

  • Click in the address bar, then Ctrl+C
  • Click in the address bar, then right click and copy through the context menu
  • Right click the address bar directly and copy through the context menu
Flags: needinfo?(mjurgens)

We are trimming the pasted string? What do you see if you paste into an external app?

Flags: needinfo?(mjurgens)

No, that does not seem to be the issue. I also get the same trimmed string when I paste the clipboard into a different program.

Flags: needinfo?(mjurgens)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: