Skip to content
Commit 824386e5 authored by Björn Geuken's avatar Björn Geuken
Browse files

Solve Security/YAMLLoad cop

Prefer using YAML.safe_load over YAML.load.
This restricts the kind of objects that will be deserialized by YAML.load
and avoid exploits.

https://ruby-doc.org/stdlib-2.3.3/libdoc/yaml/rdoc/YAML.html#module-YAML-label-Security
http://www.benjaminfleischer.com/2013/03/20/yaml-and-security-in-ruby/
parent cb38f203
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment