]> git.koha-community.org Git - koha.git/commit
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)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Tue, 21 Mar 2023 16:31:05 +0000 (16:31 +0000)
commite42bc0161e444d0b48ff4eec86a11ddd883dd715
tree062c15b15a2d1d4b8f6cd251a24a8a7a2abb47f1
parentf481f79d833ebaaee07f395d8f66c36fc5945d41
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>
(cherry picked from commit 33de3ef9dcc8d2c0b021b2da80a2c6673cd06e82)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Koha/REST/Plugin/Query.pm
Koha/REST/V1/Auth.pm