mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00
parser: Make new options actually work
This commit is contained in:
parent
42c3823df0
commit
16de1346eb
5
parser.c
5
parser.c
@ -13376,7 +13376,10 @@ xmlCtxtSetOptionsInternal(xmlParserCtxtPtr ctxt, int options, int keepMask)
|
||||
XML_PARSE_OLDSAX |
|
||||
XML_PARSE_IGNORE_ENC |
|
||||
XML_PARSE_BIG_LINES |
|
||||
XML_PARSE_NO_XXE;
|
||||
XML_PARSE_NO_XXE |
|
||||
XML_PARSE_NO_UNZIP |
|
||||
XML_PARSE_NO_SYS_CATALOG |
|
||||
XML_PARSE_NO_CATALOG_PI;
|
||||
|
||||
ctxt->options = (ctxt->options & keepMask) | (options & allMask);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user