mirror of
https://github.com/valitydev/Cortex-Analyzers.git
synced 2024-11-07 09:28:58 +00:00
296 #295 fix/remove " in short report
This commit is contained in:
parent
39ee338c53
commit
4738038e2d
@ -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', []):
|
||||
|
Loading…
Reference in New Issue
Block a user