Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix deprecated libxml_disable_entity_loader#37763

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:3.4fromjderusse:php8-libxml
Aug 10, 2020

Conversation

@jderusse
Copy link
Member

@jderussejderusse commentedAug 7, 2020
edited by fabpot
Loading

QA
Branch?3.4
Bug fix?yes
New feature?no
Deprecations?no
Tickets/
LicenseMIT
Doc PR/

Fix deprecationFunction libxml_disable_entity_loader() is deprecated triggered byphp/php-src#5867 in PHP8

derrabus reacted with thumbs up emoji
$valid = @$dom->schemaValidateSource($source);
libxml_disable_entity_loader($disableEntities);
}else {
$valid = @$dom->schemaValidateSource($source);
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

I'm not sure about this change: in previous code, the entity_loader were enabled, but the flagLIBXML_NOENT is not supported byschemaValidateSource.

Copy link
MemberAuthor

@jderussejderusseAug 7, 2020
edited
Loading

Choose a reason for hiding this comment

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

@derrabus
Copy link
Member

This should be fixed on 3.4.

@jderussejderusse changed the base branch from4.4 to3.4August 9, 2020 09:14
@jderusse
Copy link
MemberAuthor

good catch@derrabus . Rebased.

derrabus reacted with heart emoji

@fabpot
Copy link
Member

Thank you@jderusse.

@fabpotfabpot merged commitb45e3ed intosymfony:3.4Aug 10, 2020
This was referencedAug 31, 2020
@jderussejderusse deleted the php8-libxml branchOctober 15, 2020 10:01
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@dunglasdunglasAwaiting requested review from dunglasdunglas is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@jderusse@derrabus@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp