fix data->info bug in msfe xml import
git-svn-id: file:///home/svn/framework3/trunk@9284 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
ec4ed55d0d
commit
4cfc84a2e4
|
@ -1272,8 +1272,8 @@ class DBManager
|
|||
vuln_data = {}
|
||||
vuln_data[:workspace] = wspace
|
||||
vuln_data[:host] = host_address
|
||||
if vuln.elements["data"].text
|
||||
vuln_data[:data] = YAML.load(vuln.elements["data"].text.to_s.strip)
|
||||
if vuln.elements["info"].text
|
||||
vuln_data[:info] = YAML.load(vuln.elements["info"].text.to_s.strip)
|
||||
end
|
||||
vuln_data[:name] = vuln.elements["name"].text.to_s.strip
|
||||
%w{created-at updated-at}.each { |datum|
|
||||
|
|
Loading…
Reference in New Issue