Handle single quotes for OpenVAS import
parent
e05763149a
commit
f775a0bb01
|
@ -2975,7 +2975,7 @@ class DBManager
|
|||
elsif (firstline.index("<get_reports_response status=\"200\" status_text=\"OK\">"))
|
||||
@import_filedata[:type] = "OpenVAS XML"
|
||||
return :openvas_new_xml
|
||||
elsif (firstline.index("<report id=\""))
|
||||
elsif (firstline.index("<report id=\"") or firstline.index("<report id=\'"))
|
||||
@import_filedata[:type] = "OpenVAS XML"
|
||||
return :openvas_new_xml
|
||||
elsif (firstline.index("<NessusClientData>"))
|
||||
|
|
Loading…
Reference in New Issue