Bug 32713: Throw exception on unexpected x-koha-embed header
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 1 Mar 2023 16:42:30 +0000 (16:42 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 16 Mar 2023 19:12:31 +0000 (16:12 -0300)
commit33de3ef9dcc8d2c0b021b2da80a2c6673cd06e82
tree3214ca464ea24a6db7ade9b26ec9c27015522cd0
parent2202f7f2c29444b5cc587e09729cbf770323d96b
Bug 32713: Throw exception on unexpected x-koha-embed header

This patch adds an exception to stash_embed that is thrown when we
find an x-koha-embed header that we're not expecting.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/REST/Plugin/Query.pm
Koha/REST/V1/Auth.pm