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

Safe YAML #9139

Closed
balexand opened this Issue Feb 1, 2013 · 3 comments

Comments

Projects
None yet
2 participants
@balexand
Contributor

balexand commented Feb 1, 2013

Possibly activesupport could monkey-patch unsafe Ruby methods like YAML.load to be safe by default. The old version could be exposed with a prefix of unsafe_ (like YAML.unsafe_load).

Like this gem: https://github.com/dtao/safe_yaml.

@carlosantoniodasilva

This comment has been minimized.

Show comment
Hide comment
@carlosantoniodasilva

carlosantoniodasilva Feb 1, 2013

Member

Please use the Rails Core mailing list to suggest changes / new features for Rails. Thanks.

Member

carlosantoniodasilva commented Feb 1, 2013

Please use the Rails Core mailing list to suggest changes / new features for Rails. Thanks.

@balexand

This comment has been minimized.

Show comment
Hide comment
@balexand

balexand Feb 1, 2013

Contributor

Sorry about that. I posted in the Google Group.

Contributor

balexand commented Feb 1, 2013

Sorry about that. I posted in the Google Group.

@carlosantoniodasilva

This comment has been minimized.

Show comment
Hide comment
@carlosantoniodasilva

carlosantoniodasilva Feb 1, 2013

Member

No problem, thanks.

Member

carlosantoniodasilva commented Feb 1, 2013

No problem, thanks.

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