Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not use libxml_disable_entity_loader on PHP 8 or later #1502

Merged
merged 1 commit into from
Apr 23, 2021

Conversation

juliushaertl
Copy link
Member

@juliushaertl juliushaertl commented Apr 22, 2021

Avoid deprecation logs on PHP 8

https://php.watch/versions/8.0/libxml_disable_entity_loader-deprecation

In PHP 8.0 and later, PHP uses libxml versions from 2.9.0, which disabled XXE by default. libxml_disable_entity_loader() is now deprecated.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliushaertl juliushaertl added 3. to review Ready to be reviewed bug Something isn't working labels Apr 23, 2021
@juliushaertl
Copy link
Member Author

oci failure seems to be an issue with the github action that installs the php module, unrelated to this PR.

@KimHEF
Copy link

KimHEF commented Aug 23, 2021

Hey Thanks for your Solution.
I am not very familiar with PHP.... so i have to deactivate this Module, right?
Could you explain how?

Kind Regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Ready to be reviewed bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants