]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
map RHS should be single-quoted string
authorAlan T. DeKok <aland@freeradius.org>
Mon, 27 Jan 2025 21:26:50 +0000 (16:26 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 27 Jan 2025 21:26:50 +0000 (16:26 -0500)
doc/antora/modules/reference/pages/unlang/map.adoc

index 14560e345268f2d05be423044b8195179fd54920..32931f4034fe767f23d2aed4238a7fa672e3112c 100644 (file)
@@ -29,10 +29,10 @@ xref:unlang/update.adoc[update] statement is permissible.
 <field>:: 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 _<field>_ 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 _<field>_ 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