mirror of https://github.com/fail2ban/fail2ban
DOC: ChangeLog update for recursive tag bug fix
Also minor typo fixes in commentspull/715/head
parent
b3266ba44d
commit
904b362215
|
@ -22,6 +22,8 @@ ver. 0.9.1 (2014/xx/xx) - better, faster, stronger
|
|||
* Nginx filter to support missing server_name. Closes gh-676
|
||||
* fail2ban-regex assertion error caused by miscount missed lines with
|
||||
multiline regex
|
||||
* Recursive action tags now fully processed. Fixes issue with bsd-ipfw
|
||||
action
|
||||
|
||||
- New features:
|
||||
|
||||
|
|
|
@ -373,7 +373,7 @@ class CommandAction(ActionBase):
|
|||
t = re.compile(r'<([^ >]+)>')
|
||||
for tag in tags.iterkeys():
|
||||
if tag.endswith('matches'):
|
||||
# Escapped so wont match
|
||||
# Escapped so won't match
|
||||
continue
|
||||
value = str(tags[tag])
|
||||
m = t.search(value)
|
||||
|
@ -387,7 +387,7 @@ class CommandAction(ActionBase):
|
|||
#logSys.log(5, 'recursion fail tag: %s value: %s' % (tag, value) )
|
||||
return False
|
||||
elif found_tag.endswith('matches'):
|
||||
# Escapped so wont match
|
||||
# Escapped so won't match
|
||||
continue
|
||||
else:
|
||||
if tags.has_key(found_tag):
|
||||
|
|
Loading…
Reference in New Issue