mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Workaround with fbb4e3f96c
in yaml/store.rb
This commit is contained in:
parent
ffdf0232ef
commit
dfecc650c3
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ class YAML::Store < PStore
|
||||||
end
|
end
|
||||||
|
|
||||||
def load(content)
|
def load(content)
|
||||||
table = YAML.load(content)
|
table = YAML.unsafe_load(content)
|
||||||
if table == false
|
if table == false
|
||||||
{}
|
{}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue