]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] acl: support '-i' to ignore case when matching
authorWilly Tarreau <w@1wt.eu>
Sun, 17 Jun 2007 06:20:33 +0000 (08:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 17 Jun 2007 06:20:33 +0000 (08:20 +0200)
commitc8d7c96b265de864080c3eeee883d06d6a3de294
tree168a01b1624e47bd84ec03fcc5ef9ff575abc9fe
parent0fc45a7e834e3daaf94492692138ed1c0c5c9001
[MEDIUM] acl: support '-i' to ignore case when matching

Implemented the "-i" option on ACLs to state that the matching
will have to be performed for all patterns ignoring case. The
usage is :

   acl <aclname> <aclsubject> -i pattern1 ...

If a pattern must begin with "-", either it must not be the first one,
or the "--" option should be specified first.
include/types/acl.h
src/acl.c
src/proto_http.c