Closed Bug 1792537 Opened 2 years ago Closed 2 years ago

Search in address bar cannot be fully disabled

Categories

(Firefox :: Address Bar, defect, P3)

Firefox 102
defect

Tracking

()

RESOLVED DUPLICATE of bug 1489853

People

(Reporter: klar, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: privacy)

Steps to reproduce:

We use a policies.json file in Firefox ESR 102.3 on desktop OS containing:

[...]
"Preferences": {
"ui.key.menuAccessKeyFocuses": false,
"browser.fixup.alternate.enabled": false,
"browser.urlbar.suggest.searches": false,
"keyword.enabled": false,
[...]
"SearchBar": "separate",
"SearchSuggestEnabled": false,
[...]

so our users can only enter valid URLs via address bar and search via search bar.
We encounter a bug when we set the focus to the address bar.

Actual results:

  1. The displayed text in the address bar says "search with XY or enter address".

  2. If you hit enter after typing "https:/", "https://", "http:/" or "http://" Firefox sends the string to the default search engine.

Expected results:

  1. The text inside the address bar could say "enter address" when its focused since the policies disable search functionality.

  2. Nothing should ever be forwarded to the search engine.

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 severity field is not set for this bug.
:adw, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(adw)

(In reply to klar from comment #0)

  1. The displayed text in the address bar says "search with XY or enter address".

This is a duplicate of bug 1579458

  1. If you hit enter after typing "https:/", "https://", "http:/" or "http://" Firefox sends the string to the default search engine.

This is indeed wrong, it happens for protocols, so the privacy impact should be limited. We have a couple similar bugs: Bug 1489853, Bug 1591175
These likely all have a similar underlying cause.

Severity: -- → S3
Status: UNCONFIRMED → NEW
Depends on: 1579458
Ever confirmed: true
Flags: needinfo?(adw)
Keywords: privacy
Priority: -- → P3
See Also: → 1489853, 1591175
Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1489853
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.