[Koha-bugs] [Bug 28468] New: Unicode escape and non-whitespace C0 controls characters crash when put in the name of a record
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu May 27 05:12:25 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28468
Bug ID: 28468
Summary: Unicode escape and non-whitespace C0 controls
characters crash when put in the name of a record
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Cataloging
Assignee: koha-bugs at lists.koha-community.org
Reporter: victor at tuxayo.net
QA Contact: testopia at bugs.koha-community.org
CC: m.de.rooy at rijksmuseum.nl
Test:
Edit a record and put the following as a name:
foobar
If above, there is nothing between foo and bar and there is no crash, copy it
from this link:
https://github.com/minimaxir/big-list-of-naughty-strings/blob/master/blns.txt#L718
«Roses are [0;31mred[0m, violets are [0;34mblue. Hope you enjoy terminal
hue»
error ↓↓↓↓↓↓↓
Invalid data, cannot decode metadata object (biblio_metadata.id=294,
biblionumber=295, format=marcxml, schema=MARC21, decoding_error=':49: parser
error : PCDATA invalid Char value 27
<subfield code="a">foobar</subfield>
^') at /usr/share/perl5/Exception/Class/Base.pm line
88
non-whitespace C0 controls characters:
https://github.com/minimaxir/big-list-of-naughty-strings/blob/master/blns.txt#L116
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list