1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-21 14:53:44 +03:00

parser: Add XML_PARSE_NO_XXE parser option

This commit is contained in:
Nick Wellnhofer
2024-01-05 04:17:14 +01:00
parent 12f0bb9478
commit 02cc5c3609
3 changed files with 37 additions and 19 deletions

View File

@@ -1245,7 +1245,8 @@ typedef enum {
XML_PARSE_HUGE = 1<<19,/* relax any hardcoded limit from the parser */
XML_PARSE_OLDSAX = 1<<20,/* parse using SAX2 interface before 2.7.0 */
XML_PARSE_IGNORE_ENC= 1<<21,/* ignore internal document encoding hint */
XML_PARSE_BIG_LINES = 1<<22 /* Store big lines numbers in text PSVI field */
XML_PARSE_BIG_LINES = 1<<22,/* Store big lines numbers in text PSVI field */
XML_PARSE_NO_XXE = 1<<23 /* disable loading of external content */
} xmlParserOption;
XMLPUBFUN void