[Koha-bugs] [Bug 31623] New: Greater/smaller than in DB password is problematic

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Sep 26 13:52:53 CEST 2022


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

            Bug ID: 31623
           Summary: Greater/smaller than in DB password is problematic
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Command-line Utilities
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: magnus at libriotech.no
        QA Contact: testopia at bugs.koha-community.org
                CC: robin at catalyst.net.nz

To reproduce: 

Edit the koha-conf.xml of an existing site, by adding an element like this to
the "config"-section (on the same level as the "database", "hostname" etc
element): 

<passtest>a>b</passtest>

Now read this element in the same way koha-mysql does: 

$ sudo xmlstarlet sel -t -v 'yazgfs/config/passtest'
/etc/koha/sites/koha/koha-conf.xml 
a>b

"a>b" is output as "a>b", which means koha-mysql will not be able to connect
to the database.

-- 
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