]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: pattern: some entries are not deleted with case insensitive match
authorThierry FOURNIER <tfournier@exceliance.fr>
Fri, 6 Feb 2015 16:53:54 +0000 (17:53 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 6 Feb 2015 17:04:36 +0000 (18:04 +0100)
commit73bc285be194f443dc7eab9c949e87e1dbe8f70c
tree78224a85d32ca1d287af2851ba55df5be618b991
parent8aa8384e22dd0b66ded00c70a9c6034278b4bb69
BUG/MEDIUM: pattern: some entries are not deleted with case insensitive match

ACL or map entries are not deleted with the command "del acl" or "del map"
if the case insentive flag is set.

This is because the the case insensitive string are stored in a list and the
default delete function associated with string looks in a tree. I add a check
of the case insensitive flag and execute the delete function for lists if it
is set.

This patch must be backported in 1.5 version.
src/pattern.c