1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-26 00:37:43 +03:00

Revert "Add an XML_PARSE_NOXXE flag to block all entities loading even local"

This reverts commit 2304078555.

The new flag doesn't work and the change even broke the XML_PARSE_NONET
option.
This commit is contained in:
Nick Wellnhofer
2017-06-06 15:53:42 +02:00
parent 897dffbae3
commit 030b1f7a27
7 changed files with 6 additions and 65 deletions

View File

@@ -1111,8 +1111,7 @@ 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_NOXXE = 1<<23 /* Forbid any external entity loading */
XML_PARSE_BIG_LINES = 1<<22 /* Store big lines numbers in text PSVI field */
} xmlParserOption;
XMLPUBFUN void XMLCALL