commit | 404e8ab4615d564a74f92a0d3822b0292dd6224f | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Jul 26 19:40:40 2009 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Jul 26 19:40:40 2009 +0200 |
tree | 00b21179a06b2b01204765ed9325917cddd0f07e | |
parent | 43e0e3997870e39b78b87d3050f260571e5a7de9 [diff] |
[MINOR] acl: detect and report potential mistakes in ACLs I've discovered a configuration with lots of occurrences of the following : acl xxx hdr_beg (host) xxx The problem is that hdr_beg will match every header against patterns (host) and xxx due to the space between both, which certainly is not what the user wanted. Now we detect such ACLs and report a warning with a suggestion to add "--" between "hdr_beg" and "(host)" if this is definitely what is wanted.