[koha-commits] main Koha release repository branch 18.05.x updated. v18.05.10-54-gd272137

Git repo owner gitmaster at git.koha-community.org
Wed Mar 20 00:25:21 CET 2019


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, 18.05.x has been updated
       via  d272137c4f764f8a21f02f56c4dba0ad315ec4aa (commit)
      from  bc429b5dd11a9a93b96770233d727ca33687b75b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d272137c4f764f8a21f02f56c4dba0ad315ec4aa
Author: David Cook <dcook at prosentient.com.au>
Date:   Mon Mar 4 17:43:29 2019 +1100

    Bug 22429: Infinite loop in patron card printing
    
    Text fields in Patron Card Text Layouts can contain regular
    expression metacharacters, which - instead of being treated as
    literal values - are interpreted and prevent line wrapping. This
    causes the process to get stuck in an infinite loop, which keeps
    running even after the web server has timed out (at least when
    using CGI).
    
    This patch escapes the relevant input from the text field so the
    regular expression substitution treats characters as literals
    instead of as metacharacters.
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit 3bd900496690375b2b711743ffaa57371388f687)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit 296f6756ab51103d0e104e16cff312d28a8fd165)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>

-----------------------------------------------------------------------

Summary of changes:
 C4/Patroncards/Patroncard.pm |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list