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

Document when to use safe_yaml vs YAML.safe_load #96

Open
movermeyer opened this issue Apr 13, 2019 · 0 comments
Open

Document when to use safe_yaml vs YAML.safe_load #96

movermeyer opened this issue Apr 13, 2019 · 0 comments

Comments

@movermeyer
Copy link

I was looking through my Gemfile.lock one day and noticed safe_yaml was there as a transitive dependency of another gem I was using.

The name safe_yaml made me concerned that I had been doing YAML parsing in an unsafe manner up until now.

After reading your README, it sounds like safe_yaml solves the same problem as YAML.safe_load, which left my wondering when would I use safe_yaml vs YAML.safe_load.

Consider adding a section to the introduction of the README answering this question?

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

No branches or pull requests

1 participant