[Koha-bugs] [Bug 29403] dt_from_string should fail if passed more data than expected for the format

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 18 13:18:34 CET 2022


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

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

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

--- Comment #68 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 129553
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=129553&action=edit
Bug 29403: Match the whole string

This patch wraps the constructed regex such that we expect the entire
regex to match and don't allow leading or trailing garbage.

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

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


More information about the Koha-bugs mailing list