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

Make YAML.load_file use YAML.load instead of safe_load #493

Merged

Conversation

mame
Copy link
Member

@mame mame commented May 17, 2021

YAML.load and YAML.safe_load are different a little; the former allows
Symbol by default but the latter doesn't. So YAML.load_file and
YAML.safe_load_file should reflect the difference.

Fixes #490

YAML.load and YAML.safe_load are different a little; the former allows
Symbol by default but the latter doesn't. So YAML.load_file and
YAML.safe_load_file should reflect the difference.

Fixes ruby#490
@tenderlove tenderlove merged commit 38e4b51 into ruby:master May 21, 2021
@developius
Copy link

Will this make it into a release?

@hsbt
Copy link
Member

hsbt commented Jun 7, 2021

Just released psych-4.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Version 4.0.0 fails with Psych::DisallowedClass with symbols for keys
4 participants