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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/