Closed Bug 1941325 Opened 25 days ago Closed 25 days ago

Firefox Address Bar does not encode the space automatically when searching for the URL but does encode it when copying from the address bar.

Categories

(Firefox :: Address Bar, defect)

Firefox 135
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: lokesh97cse, Unassigned)

Details

Attachments

(1 file)

Attached image address_bar.png

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

Steps to reproduce:

Search in the URL "https://indianexpress.com/"
Try appending the URL address as "/indian mata" (with space) (Ex. "https://indianexpress.com/indian mata")

Actual results:

This was the URL displayed: https://indianexpress.com/indian mata

Firefox does not encode the space automatically when searching for the URL but does encode it when copying from the address bar.

Expected results:

Firefox should ideally either:
  - Encode the space to %20 in the address bar when searching (just like Chrome), or
   - At least show the URL as %20 when the user searches for it and not just when copying.

https://indianexpress.com/%indian%20mata

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

Component: Untriaged → Address Bar

The url shown to the user is decoded to improve its readability. When copied it gets encoded because some third party apps don't work well with decoded URIs. There is an about:config option browser.urlbar.decodeURLsOnCopy to control the copy behavior.

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

Attachment

General

Creator:
Created:
Updated:
Size: