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

Fix side effect when loading config #7506

Merged

Conversation

AndrolGenhald
Copy link
Collaborator

Loading the config currently sets libxml_use_internal_errors(true) and never changes it back. This fixes that side effect and also ensures that xml errors from loadDomDocument get thrown as ConfigException rather than RuntimeException.

@weirdan weirdan added the release:fix The PR will be included in 'Fixes' section of the release notes label Jan 28, 2022
@weirdan weirdan merged commit 8914793 into vimeo:master Jan 28, 2022
@weirdan
Copy link
Collaborator

weirdan commented Jan 28, 2022

Thanks!

@orklah
Copy link
Collaborator

orklah commented Jan 28, 2022

Oh cool :)

@weirdan weirdan mentioned this pull request May 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:fix The PR will be included in 'Fixes' section of the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants