forked from Ponysearch/Ponysearch
a85907a98f
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&autocomplete=google" type="application/opensearchdescription+xml"/> POST:: <Url method="POST" rel="self" template="/opensearch.xml?method=POST&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> |
||
---|---|---|
.. | ||
elements | ||
filters | ||
messages | ||
preferences | ||
result_templates | ||
404.html | ||
base.html | ||
categories.html | ||
icons.html | ||
index.html | ||
info.html | ||
macros.html | ||
new_issue.html | ||
opensearch.xml | ||
opensearch_response_rss.xml | ||
page_with_header.html | ||
preferences.html | ||
results.html | ||
search.html | ||
searxng-wordmark.min.svg | ||
simple_search.html | ||
stats.html |