]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] acl: don't report valid acls as potential mistakes
authorKrzysztof Piotr Oledzki <ole@ans.pl>
Sun, 4 Oct 2009 22:23:35 +0000 (00:23 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 8 Oct 2009 05:06:49 +0000 (07:06 +0200)
commit59dd3fc338d1867d3268d059bf060f063fe605e7
tree6e28ff7c281b729d432cdbfbf451a8903de7e8e2
parent5bf03c33fdd92138f96377a82db7f453e14301f9
[MINOR] acl: don't report valid acls as potential mistakes

Commit 404e8ab4615d564a74f92a0d3822b0292dd6224f introduced
smart checking for stupid acl typos. However, now haproxy shows
the warning even for valid acls, like this one:
acl Cookie-X-NoAccel    hdr_reg(cookie) (^|\ |;)X-NoAccel=1(;|$)
(cherry picked from commit 4cdd8314e949f1c31f86331a1122c3ec9ff7c233)
src/acl.c