mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-24 13:33:01 +03:00
parser: Make new options actually work
This commit is contained in:
5
parser.c
5
parser.c
@@ -13376,7 +13376,10 @@ xmlCtxtSetOptionsInternal(xmlParserCtxtPtr ctxt, int options, int keepMask)
|
|||||||
XML_PARSE_OLDSAX |
|
XML_PARSE_OLDSAX |
|
||||||
XML_PARSE_IGNORE_ENC |
|
XML_PARSE_IGNORE_ENC |
|
||||||
XML_PARSE_BIG_LINES |
|
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);
|
ctxt->options = (ctxt->options & keepMask) | (options & allMask);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user