https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34549
Marcel de Rooy <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #156306|0 |1 is obsolete| | --- Comment #11 from Marcel de Rooy <[email protected]> --- Created attachment 156365 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=156365&action=edit Bug 34549: Strip non-XML chars during TransformHtmlToMarc This patch strips non-XML characters from inputs during TransformHtmlToMarc. To test: 0. Apply patch 1. koha-plack --restart kohadev 2. Go to http://localhost:8081/cgi-bin/koha/cataloguing/addbiblio.pl 3. Fill out record and use the text from "Text file containing control characters" as the title 4. Click Save 5. Note that your record displays without any warnings like the following: Error: invalid data, cannot decode metadata object parser error : PCDATA invalid Char value 27 Signed-off-by: David Nind <[email protected]> Signed-off-by: Marcel de Rooy <[email protected]> [EDIT] Squashed the tidy patch. Still needed a few spaces to satisfy qa tools. -- You are receiving this mail because: 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/
