Address bar with selected search engine: ? at start of search term is ignored
Categories
(Firefox :: Address Bar, defect, P3)
Tracking
()
People
(Reporter: gilward.kukel, Assigned: mcheang)
References
Details
(Whiteboard: [sng-scrubbed][search-papercut])
Attachments
(1 file)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0
Steps to reproduce:
Select search engine in address bar, e.g. Google.
Type ?qwe.
Press Enter.
Actual results:
Google searches for "qwe".
Expected results:
Google should search for "?qwe".
Reporter | ||
Comment 1•1 year ago
|
||
And when the search term starts with ? and a space, they are removed and the default search engine is selected.
Comment 2•1 year ago
|
||
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.
Comment 3•11 months ago
|
||
The severity field is not set for this bug.
:adw, could you have a look please?
For more information, please visit BugBot documentation.
Comment 4•10 months ago
|
||
partly-obsolete |
What's your use case to search for "?something"?
This is actually working by design, because for the Address Bar the question mark is a special character limiting the search to only Search Suggestions from the default engine. https://bugzilla.mozilla.org/show_bug.cgi?id=1545336 is related as it will require to add a space after restriction tokens, but we're not yet sure whether it will be done for the question mark.
Comment 5•10 months ago
|
||
Hello! I have managed to reproduce the issue with firefox 118.0a1(2023-08-17), 117.0b8 and 106.0.2 on Windows 10 and Ubuntu 22.04.
I will mark this issue as NEW in order to get our developers involved and set the corresponding flags accordingly.
Have a nice day!
Comment 6•9 months ago
|
||
Indeed while using search mode, we shouldn't be stripping the restriction token (?). So this is indeed a bug.
Updated•9 months ago
|
Updated•8 months ago
|
Comment hidden (spam) |
Assignee | ||
Comment 8•26 days ago
|
||
Updated•26 days ago
|
Updated•26 days ago
|
Pushed by mcheang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/27b22407ab5b When a user is in search mode, the symbol ? at the beginning of the search string should not be marked as restrict token. r=mak
Comment 10•24 days ago
|
||
bugherder |
Updated•24 days ago
|
Comment 11•17 days ago
|
||
Reproducible on a 2024-05-05 Nightly build on Windows 10.
Verified as fixed on Firefox Nightly 128.0a1 and Firefox 127.0b1 on Windows 10, macOS 12, Ubuntu 22.
Description
•