DOC: ChangeLog update for recursive tag bug fix

Also minor typo fixes in comments
pull/715/head
Steven Hiscocks 2014-05-09 20:25:44 +01:00
parent b3266ba44d
commit 904b362215
2 changed files with 4 additions and 2 deletions

View File

@ -22,6 +22,8 @@ ver. 0.9.1 (2014/xx/xx) - better, faster, stronger
* Nginx filter to support missing server_name. Closes gh-676 * Nginx filter to support missing server_name. Closes gh-676
* fail2ban-regex assertion error caused by miscount missed lines with * fail2ban-regex assertion error caused by miscount missed lines with
multiline regex multiline regex
* Recursive action tags now fully processed. Fixes issue with bsd-ipfw
action
- New features: - New features:

View File

@ -373,7 +373,7 @@ class CommandAction(ActionBase):
t = re.compile(r'<([^ >]+)>') t = re.compile(r'<([^ >]+)>')
for tag in tags.iterkeys(): for tag in tags.iterkeys():
if tag.endswith('matches'): if tag.endswith('matches'):
# Escapped so wont match # Escapped so won't match
continue continue
value = str(tags[tag]) value = str(tags[tag])
m = t.search(value) m = t.search(value)
@ -387,7 +387,7 @@ class CommandAction(ActionBase):
#logSys.log(5, 'recursion fail tag: %s value: %s' % (tag, value) ) #logSys.log(5, 'recursion fail tag: %s value: %s' % (tag, value) )
return False return False
elif found_tag.endswith('matches'): elif found_tag.endswith('matches'):
# Escapped so wont match # Escapped so won't match
continue continue
else: else:
if tags.has_key(found_tag): if tags.has_key(found_tag):