mirror of
				https://github.com/searxng/searxng
				synced 2024-01-01 19:24:07 +01:00 
			
		
		
		
	|  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> | ||
|---|---|---|
| .. | ||
| simple | ||