mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
- Fixed bug when adding space between parameters
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@280 a942ae1a-1317-0410-a47c-b1dcaea8d605
This commit is contained in:
parent
f6b334319d
commit
d22eb53e34
1 changed files with 1 additions and 1 deletions
|
|
@ -97,5 +97,5 @@ class JailReader(ConfigReader):
|
|||
if m.group(2) <> None:
|
||||
for param in m.group(2).split(','):
|
||||
p = param.split('=')
|
||||
d[p[0]] = p[1]
|
||||
d[p[0].strip()] = p[1].strip()
|
||||
return [m.group(1), d]
|
||||
|
|
|
|||
Loading…
Reference in a new issue