]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: acl: always accept match "found"
authorWilly Tarreau <w@1wt.eu>
Thu, 24 Sep 2015 14:37:12 +0000 (16:37 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 24 Sep 2015 14:38:48 +0000 (16:38 +0200)
commit9bb49f6906eafed0eb0fde01cd403089a502a101
tree76b61f0a1d8e23e7c867038d259f4685876823df
parentd7bdcb874bcbd82737e51f080b9b0092863399f9
BUG/MEDIUM: acl: always accept match "found"

The pattern match "found" fails to parse on binary type samples. The
reason is that it presents itself as an integer type which bin cannot
be cast into. We must always accept this match since it validates
anything on input regardless of the type. Let's just relax the parser
to accept it.

This problem might also exist in 1.5.
(cherry picked from commit 91cc2368a73198bddc3e140d267cce4ee08cf20e)
src/acl.c