Closed Bug 1694519 Opened 5 years ago Closed 5 years ago

Copying URL query section results in copying a non correctly encoded query

Categories

(Firefox :: Address Bar, defect)

Firefox 85
defect

Tracking

()

RESOLVED DUPLICATE of bug 1539511

People

(Reporter: lukenbutters, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:85.0) Gecko/20100101 Firefox/85.0

Steps to reproduce:

Go to URL:
http://example.com/f=hello%7Chi

copy the query part from firefox results in:
f=hello|hi

Actual results:

pasting this back into firefox and pressing enter results in | being send un-encoded to the web server, this results in some webservers e.g. tomcat being in-happy since they expect | to be encoded

Expected results:

Instead copying should result in:
f=hello%7Chi
so that I can past it back into firefox OR edit the URL without firefox sending characters that should be encoded.

The Bugbug bot thinks this bug should belong to the 'Firefox::Address Bar' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Address Bar

Bug 1539511 concerns spaces, but it's pretty much the same bug.

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