URLs with a space and ending in a question mark are repointed to search
Categories
(Firefox :: Address Bar, defect, P3)
Tracking
()
People
(Reporter: docorbit, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:77.0) Gecko/20100101 Firefox/77.0
Steps to reproduce:
- Set up browser for separate address field and search engine field
- In the address field, type the URL https://en.wikipedia.org/wiki/Why Should I Love You?
- Press enter
Attempted workaround:
- In the address field, type the URL https://en.wikipedia.org/wiki/Why Should I Love You?
- Press up arrow key
- Press Enter
Actual results:
- URL opens as search string in my preferred search engine
- Search preferences open
Expected results:
- Requested URL opens at Wikipedia
- Requested URL opens at Wikipedia
Comment 1•4 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Reporter | ||
Comment 2•4 years ago
|
||
Correction:
Expected results:
- Requested URL opens at Wikipedia
- Requested URL opens at Wikipedia
Reporter | ||
Comment 3•4 years ago
|
||
(Sorry, Bugzilla changes the 6 to a 4. Correction:)
- Requested URL opens at Wikipedia.
Reporter | ||
Comment 4•4 years ago
|
||
Re-correcting:
Actual results:
3 URL opens as search string in my preferred search engine
6 Search preferences open
Expected results:
3 Requested URL opens at Wikipedia
6 Requested URL opens at Wikipedia
Updated•4 years ago
|
Comment 5•4 years ago
|
||
Spaces in the path should always be encoded, and searching Wikipedia can be done more easily through its dedicated search engine. But the fact the url starts with a valid scheme must be considered.
Reporter | ||
Comment 6•4 years ago
|
||
Well, yes, and the ? gets encoded as %3F as well. But this would best be handled by the browser, not the user, as it is technical and not something the average user would understand. Presumably that is a separate bug, however. In the case of this bug, it is specifically triggered by the presence of both a space and a question mark. The space alone or question mark alone does not trigger the bug.
Reporter | ||
Comment 7•4 years ago
|
||
Also noting the following in the preference pane:
Search Bar
Use the address bar for search and navigation
Add search bar in toolbar
If I've chosen Add search bar in toolbar (which sets browser.search.widget.inNavBar to true), I would expect it not to use the address bar for search and navigation. That is, I would expect it to no longer be awesome.
Comment 8•4 years ago
|
||
The Address Bar functionality doesn't depend on Search Bar preferences, and we don't plan to change that.
Description
•