From: Alan T. DeKok Date: Fri, 17 Nov 2023 15:11:11 +0000 (-0500) Subject: quote things X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebed5aaaaccf3180cdacfa9a5a6daa46b57861f9;p=thirdparty%2Ffreeradius-server.git quote things --- diff --git a/src/tests/modules/rest/rest_xlat.unlang b/src/tests/modules/rest/rest_xlat.unlang index 892474260c0..e0de9e81a61 100644 --- a/src/tests/modules/rest/rest_xlat.unlang +++ b/src/tests/modules/rest/rest_xlat.unlang @@ -70,7 +70,7 @@ if (!(&control.Tmp-String-3[0] == 'Bob') || !(&control.Tmp-String-3[1] == 'dummy test_fail } -&control.Tmp-String-2 = %json.encode(&NAS-IP-Address) +&control.Tmp-String-2 = %json.encode("&NAS-IP-Address") # POST to https with JSON body data &Tmp-String-2 := "%(rest:POST https://%{Tmp-String-0}:%{Tmp-Integer-1}/user/%{User-Name}/mac/%{Called-Station-Id}?section=accounting %{control.Tmp-String-2})"