Strip whitespace from saved service names from NBEs

git-svn-id: file:///home/svn/framework3/trunk@5982 4d416f70-5f16-0410-b530-b9f4589650da
unstable
kris 2008-11-28 12:51:35 +00:00
parent d185cce177
commit 29919b1d84
1 changed files with 1 additions and 1 deletions

View File

@ -401,7 +401,7 @@ module Db
end
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
next if not nasl