(test) handle sanitization before passing data to libxml

This commit is contained in:
Ludovic Marcotte committed 2016-12-06 14:05:27 -05:00
1 parent 0038e4bc60
commit 2a2ebd553e
2 files changed
+13 -3

No files matched your search

+2 -1
View File
@@ -302,7 +302,8 @@ static int cssEscapingCount;
{
c = buf[i];
if (c == 0x9 ||
if (c == 0x0 ||
c == 0x9 ||
c == 0xA ||
c == 0xD ||
(c >= 0x20 && c <= 0xD7FF) ||