]> git.ipfire.org Git - thirdparty/haproxy.git/commit
DOC: config: fix jwt_verify() example using var()
authorAurelien DARRAGON <adarragon@haproxy.com>
Fri, 26 May 2023 12:29:58 +0000 (14:29 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 6 Jun 2023 13:15:17 +0000 (15:15 +0200)
commitb1d94e84e8b90240883a60066c393c1991669701
treef2a1c88f632b3d602c46686ddc4924a99ed4bd4c
parenta475448161b406b0b81f5b551336417b05426492
DOC: config: fix jwt_verify() example using var()

To prevent bogus matches, var() does not default to string type anymore
since 44c5ff6 ("MEDIUM: vars: make the var() sample fetch function really
return type ANY).

Thanks to the above fix, haproxy now returns an error if var() is used
within an ACL or IF condition and the matching type is not explicitly
set.

However, the documentation was not updated to reflect this change.

This partially fixes GH #2087 and must be backported up to 2.6.
doc/configuration.txt