r23598 - gnucash/trunk/src/backend/xml - Bug 710824 - GnuCash should sanitise UTF-8 before serialising files
Derek Atkins
warlord at MIT.EDU
Mon Dec 23 15:44:01 EST 2013
John Ralls <jralls at code.gnucash.org> writes:
> Author: jralls
> Date: 2013-12-22 17:32:04 -0500 (Sun, 22 Dec 2013)
> New Revision: 23598
> Trac: http://svn.gnucash.org/trac/changeset/23598
>
> Added:
> gnucash/trunk/src/backend/xml/gnc-xml-helper.c
> Modified:
> gnucash/trunk/src/backend/xml/Makefile.am
> gnucash/trunk/src/backend/xml/gnc-recurrence-xml-v2.c
> gnucash/trunk/src/backend/xml/gnc-schedxaction-xml-v2.c
> gnucash/trunk/src/backend/xml/gnc-transaction-xml-v2.c
> gnucash/trunk/src/backend/xml/gnc-xml-helper.h
> gnucash/trunk/src/backend/xml/io-gncxml-v2.c
> gnucash/trunk/src/backend/xml/sixtp-dom-generators.c
> gnucash/trunk/src/backend/xml/sixtp-to-dom-parser.c
> gnucash/trunk/src/backend/xml/test/Makefile.am
> gnucash/trunk/src/backend/xml/test/test-string-converters.c
> Log:
> Bug 710824 - GnuCash should sanitise UTF-8 before serialising files
>
> to avoid writing broken unparseable XML.
> This checks for both bad UTF8 and for invalid control characters
> that libxml2 doesn't convert to entities.
Are we going to need a similar process for the SQL backend?
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-devel
mailing list