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)
committerAleisha Amohia <aleishaamohia@hotmail.com>
Mon, 13 Jul 2020 02:19:15 +0000 (14:19 +1200)
commitc1ef8a49de0dab37cfb94de9c3e13410989a2de7
tree458ee3c876609ce80b01da1193e1996f5d176964
parent8019711adf319483f4baa4b4bc3b78972d9715ec
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>
(cherry picked from commit e15992e4eb1e194a8ecc3bf8f04b5a74e6e5520a)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
C4/Output.pm
opac/opac-search.pl