1
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:
HD Moore 2010-07-14 17:05:47 +00:00
parent cef24f7098
commit ff204324e0

View File

@ -13,7 +13,7 @@ class ActiveRecord::Base
string
end
rescue ::Exception => e
YAML.load(string) rescue string
string
end
end
end