mirror of https://github.com/MISP/misp-dashboard
fix: bug when label contain '\n'
parent
bc0d825ce9
commit
60470a1ade
|
@ -79,6 +79,7 @@ class Trendings_helper:
|
|||
if specificLabel is None:
|
||||
return self.getGenericTrending('TRENDINGS_EVENTS', dateS, dateE)
|
||||
else:
|
||||
specificLabel = specificLabel.replace('\\n', '\n'); # reset correctly label with their \n (CR) instead of their char value
|
||||
return self.getSpecificTrending('TRENDINGS_EVENTS', dateS, dateE, specificLabel)
|
||||
|
||||
def getTrendingCategs(self, dateS, dateE):
|
||||
|
|
Loading…
Reference in New Issue