]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: acl: strenghten the option parser to report invalid options
authorWilly Tarreau <w@1wt.eu>
Sun, 11 May 2014 07:43:46 +0000 (09:43 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 11 May 2014 07:43:46 +0000 (09:43 +0200)
commit2039bba41ba0e1fd0b909a2224a0e3cf82888dd7
tree56a2dcfddcd40c6ef8e3267b7cacb504955b7e4e
parenta3393955da26602a284328ea9640a84ff05c3fb2
MEDIUM: acl: strenghten the option parser to report invalid options

Whatever ACL option beginning with a '-' is considered as a pattern
if it does not match a known option. This is a big problem because
typos are silently ignored, such as "-" or "-mi".

Better clearly check the complete option name and report a parsing
error if the option is unknown.
src/acl.c