Skip to content

Fix deprecated libxml_disable_entity_loader#37790

Merged
fabpot merged 1 commit intosymfony:4.4from
fabpot:libxml_disable_entity_loader
Aug 10, 2020
Merged

Fix deprecated libxml_disable_entity_loader#37790
fabpot merged 1 commit intosymfony:4.4from
fabpot:libxml_disable_entity_loader

Conversation

@fabpot
Copy link
Copy Markdown
Member

@fabpot fabpot commented Aug 10, 2020

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets n/a
License MIT
Doc PR n/a

@fabpot fabpot merged commit 8062943 into symfony:4.4 Aug 10, 2020
@fabpot fabpot deleted the libxml_disable_entity_loader branch August 10, 2020 07:49

$internalErrors = libxml_use_internal_errors(true);
$disableEntities = libxml_disable_entity_loader(true);
if (LIBXML_VERSION < 20900) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we fully-qualify the constant to have it resolved at compile time ?

This was referenced Aug 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants