Closed Bug 1738478 Opened 4 years ago Closed 4 years ago

OpenSearch doesn't work with authenticated sites

Categories

(Firefox :: Search, defect)

Firefox 94
defect

Tracking

()

RESOLVED DUPLICATE of bug 1624457

People

(Reporter: alexandermomchilov, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:94.0) Gecko/20100101 Firefox/94.0

Steps to reproduce:

  1. Visited an internal company site that requires authentication that has an OpenSearch manifest
  2. From the URL bar, click to add the site as a search engine.

Actual results:

An error dialogue box shows up with "Firefox could not install the search engine from: https://the.internal.site.com/opensearch.xml"

Expected results:

Access the opensearch.xml file with the same authentication request headers as the rest of the site, so that the file can be read and used to define 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 revert this change in case you think the bot is wrong.

Component: Untriaged → Address Bar

We worked around this by making our /opensearch.xml route not be hidden behind authentication.

This was acceptable for the base search functionality, but this is obviously wouldn't be appropriate for the search auto-completions endpoint, which would be leaking internal data.

Not sure what opensearch should be doing in this particular scenario, most likely :standard8 has a better understanding of this than I.

Component: Address Bar → Search
Flags: needinfo?(standard8)

Dupe of existing bug 1624457.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Flags: needinfo?(standard8)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.