From: Nick Porter Date: Wed, 12 Jul 2023 14:21:58 +0000 (+0100) Subject: The xlat is %{urlquote: } not %{urlencode: } X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3c59e1876abb1d0d1e714349ab1ab37dccf3151;p=thirdparty%2Ffreeradius-server.git The xlat is %{urlquote: } not %{urlencode: } --- diff --git a/doc/antora/modules/raddb/pages/mods-available/rest.adoc b/doc/antora/modules/raddb/pages/mods-available/rest.adoc index 9ae431d0574..c8a7c2e8447 100644 --- a/doc/antora/modules/raddb/pages/mods-available/rest.adoc +++ b/doc/antora/modules/raddb/pages/mods-available/rest.adoc @@ -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:}` + done using the appropriate `xlat` method e.g. `%{urlquote:}` | `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. diff --git a/raddb/mods-available/rest b/raddb/mods-available/rest index 6e66a708a06..15c166eba49 100644 --- a/raddb/mods-available/rest +++ b/raddb/mods-available/rest @@ -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:}` + # done using the appropriate `xlat` method e.g. `%{urlquote:}` # | `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.