From: Christopher Faulet Date: Tue, 27 Oct 2026 13:20:17 +0000 (+0100) Subject: DOC: config: Fix documentation about dot character in variable names X-Git-Tag: v3.5-dev10~27 X-Git-Url: https://git.kaiwu.me/?a=commitdiff_plain;h=f53d9bffd0392c96f91add408923237a3c35859f;p=haproxy.git DOC: config: Fix documentation about dot character in variable names In the section 2.8 (Variables), the doc character ('.') was not listed in the set of characters allowed in a variable name. However it is an error. The dot character is allowed. It cannot be used in the scope. But it is allowed in the name. The bug was introduced with the commit b643fbb1a ("DOC: config: Add a dedicated section about variables"), when the section 2.8 was added. This patch could be backported as far as 2.8. --- diff --git a/doc/configuration.txt b/doc/configuration.txt index 9d7537af3..d29631ef8 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -1458,9 +1458,9 @@ amount of memory used by the variables by setting "tune.vars" global parameters. Variables must be designated using the format ".". The is a single word indicating the life time of the variable. The part, inside -a scope, may only contain characters 'a-z', 'A-Z', '0-9' and '_'. It is unique -in this scope but the same name in different scopes can be used and refers to -different variables. Supported scopes are: +a scope, may only contain characters 'a-z', 'A-Z', '0-9', '_' and '.'. It is +unique in this scope but the same name in different scopes can be used and +refers to different variables. Supported scopes are: * proc : for variables known during the whole process lifespan and globally accessible. "proc" variables can be manipulated from the CLI using