[Koha-bugs] [Bug 31393] Koha::Config->read_from_file incorrectly parses elements with 1 attribute named" content" (Shibboleth config)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 26 15:45:21 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31393

Julian Maurice <julian.maurice at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #152609|0                           |1
        is obsolete|                            |

--- Comment #15 from Julian Maurice <julian.maurice at biblibre.com> ---
Created attachment 152685
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=152685&action=edit
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`

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list