Sanitize strings before writting them to XML or sqlitedb (ISSUE #3)
authorTomas Mlcoch <tmlcoch@redhat.com>
Mon, 17 Feb 2014 14:32:54 +0000 (15:32 +0100)
committerTomas Mlcoch <tmlcoch@redhat.com>
Mon, 17 Feb 2014 14:32:54 +0000 (15:32 +0100)
commit7efa74ce726f3fad82d5f3f2f632c6f42035e48b
tree69755ce743fb81c4c8296d235fa9b0e3b6415425
parent391f9b70d5bff29c27cae86865b3bec1471bcb1f
Sanitize strings before writting them to XML or sqlitedb (ISSUE #3)

Exclude chars with val <32 (except the 9, 10, 13) from the strings.
src/sqlite.c
src/xml_dump.c
src/xml_dump.h