Bug 11994: OpenSearch plugins needs to be delivered with Content-Type application...
authorKatrin Fischer <katrin.fischer.83@web.de>
Fri, 1 May 2020 17:20:43 +0000 (17:20 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 10 Jul 2020 16:03:57 +0000 (16:03 +0000)
commite15992e4eb1e194a8ecc3bf8f04b5a74e6e5520a
treeb362c9664fa73300b071eed691b0e842cdd62d62
parent6f9b44c95a02e5f24d4441622949225757db1b95
Bug 11994: OpenSearch plugins needs to be delivered with Content-Type application/opensearchdescription+xml

https://developer.mozilla.org/en-US/docs/Web/OpenSearch
Your server should serve OpenSearch plugins using
Content-Type: application/opensearchdescription+xml.

To test:
- Verify the Content-Type the file is delivered with
  is correct, for example using wget
  http://127.0.0.1:8080/cgi-bin/koha/opac-search.pl?format=opensearchdescription

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit f090c1d2cb9253d77c5bac3b8fa03c775af2f0f6)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
C4/Output.pm
opac/opac-search.pl