]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: pattern: Fix pattern lookup for map with opt@ prefix
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 25 Sep 2025 13:21:04 +0000 (15:21 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 25 Sep 2025 13:28:22 +0000 (15:28 +0200)
commit7aa9f5ec98436182b2b5ebeb57828d2daf27f20a
tree9f5480cf847d718dc4b0f26905bb2ab6feb468b8
parentc325e34e6d506aa50471e56d97b31697df3d7a5f
BUG/MINOR: pattern: Fix pattern lookup for map with opt@ prefix

When we look for a map file reference, the file@ prefix is removed because
if may be omitted. The same is true with opt@ prefix. However this case was
not properly performed in pat_ref_lookup(). Let's do so.

This patch must be backported as far as 3.0.
src/pattern.c