From 9ed1c9871b77f48a9634808a9f4e36a962a883de Mon Sep 17 00:00:00 2001 From: "Alan T. DeKok" Date: Mon, 27 Jan 2025 16:26:50 -0500 Subject: [PATCH] map RHS should be single-quoted string --- doc/antora/modules/reference/pages/unlang/map.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/antora/modules/reference/pages/unlang/map.adoc b/doc/antora/modules/reference/pages/unlang/map.adoc index 14560e3452..32931f4034 100644 --- a/doc/antora/modules/reference/pages/unlang/map.adoc +++ b/doc/antora/modules/reference/pages/unlang/map.adoc @@ -29,10 +29,10 @@ xref:unlang/update.adoc[update] statement is permissible. :: The name of the field from the database. For SQL, the field names are usually column names. For LDAP, the field names are usually LDAP attributes. + -The __ value should generally be enclosed in single quotes which -prevents any additional expansion of the value. When the right hand side is -instead a double-quoted string, that string is expanded dynamically. The -resulting value is then taken as the field name. +The __ name should be enclosed in single quotes. +When the right hand side is instead a double-quoted string, that +string is expanded dynamically. The resulting value is then taken as +the field name. If the `map` fails for any reason, then all of the results are discarded, and the `map` does not affect any server attributes. For -- 2.47.3