diff --git a/lib/yaml/store.rb b/lib/yaml/store.rb index 3c9b8817e4..f8650b942f 100644 --- a/lib/yaml/store.rb +++ b/lib/yaml/store.rb @@ -65,7 +65,7 @@ class YAML::Store < PStore end def load(content) - table = YAML.load(content) + table = YAML.unsafe_load(content) if table == false {} else