]> git.koha-community.org Git - koha.git/commit
Bug 31393: Koha::Config: handle the special case for 'content' attribute
authorJulian Maurice <julian.maurice@biblibre.com>
Mon, 26 Jun 2023 13:25:12 +0000 (15:25 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 8 Nov 2023 08:14:09 +0000 (22:14 -1000)
commit35ae7b467e54c38b8f99e392b02838e9fd53e9e0
treeaba6367b4a130beb120066152aa8663620ab42cf
parenta530cf3088195da651e4cccd09809e898f9e0ee2
Bug 31393: Koha::Config: handle the special case for 'content' attribute

<key content="value"></key>

was wrongly parsed as

{ key => 'value' }

whereas it should be

{ key => { content => 'value' } }

The 'content' attribute is used in shibboleth config

Test plan:
1 Run `prove t/Koha/Config.t`

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 6973625e7a06e66ee731ea8f5b69f296943c580f)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Config.pm
t/Koha/Config.t
t/data/koha-conf.xml