]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: acl: warn if "_sub" derivative used with an explicit match
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 28 Oct 2025 10:23:18 +0000 (11:23 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 28 Oct 2025 10:59:32 +0000 (11:59 +0100)
commit7f2ae109207cf4a837ecc48c305e713303275cec
tree24fee0d8c675587e61272d79ce3d0427291b97f5
parent89b43740e3fd2721c6b5265b473a2ffc1e986e0b
BUG/MINOR: acl: warn if "_sub" derivative used with an explicit match

Recently, a new warning is displayed when an ACL derivative match method
is override with another '-m' method. This is implemented via the
following patch :

  6ea50ba462692d6dcf301081f23cab3e0f6086e4
  MINOR: acl; Warn when matching method based on a suffix is overwritten

However, this warning was not reported when "_sub" suffix was specified.
Fix this by adding PAT_MATCH_SUB in the warning comparison.

No backport needed except if above commit is.
src/acl.c