]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
The xlat is %{urlquote: } not %{urlencode: }
authorNick Porter <nick@portercomputing.co.uk>
Wed, 12 Jul 2023 14:21:58 +0000 (15:21 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Wed, 12 Jul 2023 14:21:58 +0000 (15:21 +0100)
doc/antora/modules/raddb/pages/mods-available/rest.adoc
raddb/mods-available/rest

index 9ae431d05741cf97b6f4bf45efa4c2979f1d7d38..c8a7c2e84477360ee0d608b537991b7fc4080de3 100644 (file)
@@ -185,7 +185,7 @@ The following config items may be listed in any of the sections:
 | `data`         | Send custom freeform data in the HTTP body. `Content-type`
                    may be specified with `body`. Will be expanded.
                    Values from expansion will not be escaped, this should be
-                   done using the appropriate `xlat` method e.g. `%{urlencode:<attr>}`
+                   done using the appropriate `xlat` method e.g. `%{urlquote:<attr>}`
 | `force_to`     | Force the response to be decoded with this decoder.
                    May be 'plain' (creates reply.REST-HTTP-Body), 'post' or 'json'.
 | `tls`          | TLS settings for HTTPS.
index 6e66a708a068a714b5bcda8b976a97a1502d231d..15c166eba4977538013be8f0a74d19d4b62e3002 100644 (file)
@@ -207,7 +207,7 @@ rest {
        #  | `data`         | Send custom freeform data in the HTTP body. `Content-type`
        #                     may be specified with `body`. Will be expanded.
        #                     Values from expansion will not be escaped, this should be
-       #                     done using the appropriate `xlat` method e.g. `%{urlencode:<attr>}`
+       #                     done using the appropriate `xlat` method e.g. `%{urlquote:<attr>}`
        #  | `force_to`     | Force the response to be decoded with this decoder.
        #                     May be 'plain' (creates reply.REST-HTTP-Body), 'post' or 'json'.
        #  | `tls`          | TLS settings for HTTPS.