Strip whitespace from saved service names from NBEs
git-svn-id: file:///home/svn/framework3/trunk@5982 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
d185cce177
commit
29919b1d84
|
@ -401,7 +401,7 @@ module Db
|
||||||
end
|
end
|
||||||
|
|
||||||
service = framework.db.get_service(nil, host, m[3].downcase, m[2].to_i)
|
service = framework.db.get_service(nil, host, m[3].downcase, m[2].to_i)
|
||||||
service.name = m[1]
|
service.name = m[1].strip
|
||||||
service.save
|
service.save
|
||||||
|
|
||||||
next if not nasl
|
next if not nasl
|
||||||
|
|
Loading…
Reference in New Issue