mirror of https://github.com/fail2ban/fail2ban
BF: (python 2.4) -- access to staticmethod should go via Class
TODO: get away from using all those staticmethods in f2bpull/64/merge
parent
5becaf8ef2
commit
09355663f7
|
@ -255,7 +255,7 @@ class Action:
|
||||||
if tag == 'matches':
|
if tag == 'matches':
|
||||||
# That one needs to be escaped since its content is
|
# That one needs to be escaped since its content is
|
||||||
# out of our control
|
# out of our control
|
||||||
value = escapeTag(value)
|
value = Action.escapeTag(value)
|
||||||
string = string.replace('<' + tag + '>', value)
|
string = string.replace('<' + tag + '>', value)
|
||||||
# New line
|
# New line
|
||||||
string = string.replace("<br>", '\n')
|
string = string.replace("<br>", '\n')
|
||||||
|
|
Loading…
Reference in New Issue