[Koha-bugs] [Bug 22429] Infinite loop in patron card printing

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 4 07:53:23 CET 2019


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

--- Comment #7 from David Cook <dcook at prosentient.com.au> ---
Created attachment 85972
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=85972&action=edit
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.

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


More information about the Koha-bugs mailing list