searxng/searx/templates/simple
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
..
elements add a "copy" button to the "search-url" sidebar 2023-11-10 13:28:04 +00:00
filters [mod] replace searx.languages by searx.sxng_locales 2023-03-24 10:37:42 +01:00
messages [mod] simplify no results on pages > 1 to "There are no more results." 2023-12-23 09:50:39 +01:00
preferences [feat] preferences: button to copy input to restore preferences hash 2024-01-29 18:09:22 +01:00
result_templates Remove rtl exception 2024-01-31 20:03:10 +01:00
404.html Drop Python 2 (2/n): templates 2020-09-10 10:39:04 +02:00
base.html [mod] footer: i18n for the link names in the footer 2024-02-10 08:03:43 +01:00
categories.html [fix] categories.html: can't select social media category using search on category select 2023-09-28 10:45:49 +02:00
icons.html [build] /static 2022-07-02 10:05:43 +02:00
index.html Workaround: index.html: remove image preload 2022-06-18 09:04:13 +02:00
info.html Theme: add Help and Donate links in all pages 2022-06-25 20:31:40 +02:00
macros.html [fix] remove missing link icon macro 2024-02-01 08:13:43 +01:00
new_issue.html [mod] allow brand.issue_url to overwrite the step1 url 2022-07-10 18:43:53 +02:00
opensearch.xml [fix] opensearxh.xml: firefox v123 does not except self-URI (URL with param) 2024-02-25 07:33:04 +01:00
opensearch_response_rss.xml theme: remove __common__ 2022-05-07 19:40:48 +02:00
page_with_header.html [mod] template preferences: split into elements (no functional change) 2023-06-02 19:05:43 +02:00
preferences.html [mod] preferences: implement drop-down menu for hotkeys (default, vim) 2023-09-19 08:06:06 +02:00
results.html [mod] Retain page numbers even when there are no results 2023-11-27 14:07:04 +01:00
search.html solve #2839 2023-09-25 23:01:14 +02:00
searxng-wordmark.min.svg theme: remove __common__ 2022-05-07 19:40:48 +02:00
simple_search.html Merge pull request #1004 from MontyQI/search_url 2022-03-26 17:08:50 +01:00
stats.html [fix] spelling 2023-09-18 16:20:27 +02:00