296 #295 fix/remove " in short report

This commit is contained in:
Jérôme Leonard 2018-09-03 16:44:05 +02:00
parent 39ee338c53
commit 4738038e2d
No known key found for this signature in database
GPG Key ID: C5D0D898D56C3D9D

View File

@ -15,7 +15,7 @@ class URLCategoryAnalyzer(Analyzer):
if 'category' in raw:
r = raw.get('category')
value = "\"{}\"".format(r)
value = "{}".format(r)
if r in self.get_param('config.malicious_categories', []):
level = "malicious"
elif r in self.get_param('config.suspicious_categories', []):