mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Add LIBXML_NO_XXE constant (#14844)
This constant is available as of libxml2 2.13, and is used together with LIBXML_NOENT to allow entity subsitution but disallow external entities.
This commit is contained in:
parent
1f64e7c253
commit
f0441e05b8
8 changed files with 86 additions and 5 deletions
|
@ -28,6 +28,13 @@ const LIBXML_RECOVER = UNKNOWN;
|
|||
* @cvalue XML_PARSE_NOENT
|
||||
*/
|
||||
const LIBXML_NOENT = UNKNOWN;
|
||||
#if LIBXML_VERSION >= 21300
|
||||
/**
|
||||
* @var int
|
||||
* @cvalue XML_PARSE_NO_XXE
|
||||
*/
|
||||
const LIBXML_NO_XXE = UNKNOWN;
|
||||
#endif
|
||||
/**
|
||||
* @var int
|
||||
* @cvalue XML_PARSE_DTDLOAD
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue