mirror of https://github.com/fail2ban/fail2ban
BF: return str(host) to avoid spurious characters in the logs (Close gh-113)
thanks to opoplawski@githubpull/108/merge
parent
5f2d3832f7
commit
f8983872ad
|
@ -130,4 +130,4 @@ class FailRegex(Regex):
|
||||||
s = self._matchCache.string
|
s = self._matchCache.string
|
||||||
r = self._matchCache.re
|
r = self._matchCache.re
|
||||||
raise RegexException("No 'host' found in '%s' using '%s'" % (s, r))
|
raise RegexException("No 'host' found in '%s' using '%s'" % (s, r))
|
||||||
return host
|
return str(host)
|
||||||
|
|
Loading…
Reference in New Issue