mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-11-12 11:52:01 +01:00
Do not fall through to YAML
git-svn-id: file:///home/svn/framework3/trunk@9823 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
cef24f7098
commit
ff204324e0
@ -13,7 +13,7 @@ class ActiveRecord::Base
|
||||
string
|
||||
end
|
||||
rescue ::Exception => e
|
||||
YAML.load(string) rescue string
|
||||
string
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user