mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-13 07:47:12 +00:00
(test) handle sanitization before passing data to libxml
This commit is contained in:
1 parent
0038e4bc60
commit
2a2ebd553e
2 files changed
+13
-3
No files matched your search
@@ -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) ||
|
||||
|
||||
Reference in new issue
Block a user