searxng/searx
Markus Heiser a85907a98f [fix] opensearxh.xml: firefox v123 does not except self-URI (URL with param)
Before this patch we had a address in the rel-self-template with params [1]:

GET::

    <Url method="GET"
         rel="self"
         template="/opensearch.xml?method=GET&amp;autocomplete=google"
         type="application/opensearchdescription+xml"/>

POST::

    <Url method="POST"
         rel="self"
         template="/opensearch.xml?method=POST&amp;autocomplete=google"
         type="application/opensearchdescription+xml"/>

The first one (GET) is no longer accepted by firefox since v123, the latter one
was always been wrong (since it mixes GET params with a POST request).

Since Firefox v123 a template syntax [2] in the rel-self-template is no longer
supported / Firefox will report an error::

    Firefox could not download the search plugin from:
    http://127.0.0.1:8888//opensearch.xml?method=GET&autocomplete=google

This patch reduce the URL to::

    template="http://127.0.0.1:8888/opensearch.xml"

[1] https://github.com/dewitt/opensearch/blob/master/opensearch-1-1-draft-6.md#url-rel-values
[2] https://github.com/dewitt/opensearch/blob/master/opensearch-1-1-draft-6.md#opensearch-url-template-syntax

Closes: https://github.com/searxng/searxng/issues/3227
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-02-25 07:33:04 +01:00
..
answerers
botdetection Block HeadlessChrome (#3116) 2024-01-17 09:14:36 +01:00
data [fix] sort RTL_LOCALES before written into locales.json 2024-02-20 12:29:13 +01:00
enginelib
engines [feat] engine: implementation of mozhi 2024-02-23 07:50:48 +01:00
infopage [clean] drop obsolete py3.7 compatibility 2024-02-10 09:27:19 +01:00
metrics
network
plugins [mod] isolation of botdetection from the limiter 2023-11-01 06:44:56 +01:00
search [fix] SyntaxWarning: invalid escape sequence '\>' 2024-01-15 18:27:21 +01:00
static [build] /static 2024-01-31 17:22:03 +01:00
templates/simple [fix] opensearxh.xml: firefox v123 does not except self-URI (URL with param) 2024-02-25 07:33:04 +01:00
translations [translations] update from Weblate 2024-02-23 08:14:58 +01:00
__init__.py [mod] document server:public_instance & remove it out of the botdetection 2023-11-01 06:44:56 +01:00
autocomplete.py [feat] autocompleter: implementation of stract (beta) 2024-01-07 11:18:16 +01:00
babel_extract.py
exceptions.py
external_bang.py
external_urls.py
flaskfix.py
limiter.py [mod] document server:public_instance & remove it out of the botdetection 2023-11-01 06:44:56 +01:00
limiter.toml [mod] isolation of botdetection from the limiter 2023-11-01 06:44:56 +01:00
locales.py [mod] reduce memory footprint by not calling babel.Locale.parse at runtime 2024-02-20 10:43:20 +01:00
preferences.py [mod] add hotkeys option to settings.yml 2023-10-09 18:13:00 +02:00
query.py
redisdb.py
redislib.py
results.py [fix] KeyError: 'title' in results using key-value.html template 2024-02-06 07:53:39 +01:00
searxng.msg [mod] footer: i18n for the link names in the footer 2024-02-10 08:03:43 +01:00
settings_defaults.py [mod] footer: i18n for the link names in the footer 2024-02-10 08:03:43 +01:00
settings_loader.py
settings.yml [feat] engine: implementation of mozhi 2024-02-23 07:50:48 +01:00
sxng_locales.py [mod] reduce memory footprint by not calling babel.Locale.parse at runtime 2024-02-20 10:43:20 +01:00
unixthreadname.py
utils.py [fix] HTMLParser: undocumented not implemented method 2023-10-22 10:35:02 +02:00
version.py
webadapter.py Revert "[fix] limit maximum page number of a search query to page 50." (#2979) 2023-11-01 16:55:20 +00:00
webapp.py [fix] opensearxh.xml: firefox v123 does not except self-URI (URL with param) 2024-02-25 07:33:04 +01:00
webutils.py [fix] do highlight replacement at once 2024-01-29 13:15:37 +01:00