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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 24 Jun 2020 12:31:37 +0000 (14:31 +0200)
commitf090c1d2cb9253d77c5bac3b8fa03c775af2f0f6
treec680a0522a3d87a316d3ac6a27cb608e6c4f933f
parent0ef7b3db4cab73797ba3386b4951c0d86addf871
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>
C4/Output.pm
opac/opac-search.pl