Closed Bug 1664544 Opened 6 years ago Closed 6 years ago

Copying HTTPS links with empty paths with browser.urlbar.decodeURLsOnCopy enabled results in a malformed URL

Categories

(Firefox :: Address Bar, defect)

80 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1657526

People

(Reporter: wbiggs1, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0

Steps to reproduce:

  1. In about:config, enable browser.urlbar.decodeURLsOnCopy
  2. Go to an HTTPS webpage with an empty path - such as https://www.google.com/
  3. Copy the full URL.
  4. Paste it somewhere - you get http://https://www.google.com

Actual results:

Copying HTTPS webpages with an empty path gives me a URL like http://https://www.google.com. Copying HTTP pages like http://www.httpvshttps.com or HTTPS pages with non-empty paths like https://www.google.com/search works fine.

Expected results:

Copying HTTPS webpages with an empty path should give you the correct URL, such as https://www.google.com.

Seems duplication of Bug 1657526

Component: Untriaged → Address Bar

Thanks, that does seem to be the same bug. Not sure how that didn't come up in my search.

Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.