]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove '&' again
authorAlan T. DeKok <aland@freeradius.org>
Sat, 1 Feb 2025 14:24:12 +0000 (09:24 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 1 Feb 2025 14:24:12 +0000 (09:24 -0500)
src/tests/modules/rest/rest_xlat.unlang

index 113171069cad6e9ba4a42be75444b7500f6ae14c..e96b7689c51821892f2063a0ef6d734a3b06350a 100644 (file)
@@ -75,7 +75,7 @@ if (!(control.User-Name[0] == 'Bob') || !(control.User-Name[1] == 'dummy')) {
        test_fail
 }
 
-test_string := %json.encode('&request.NAS-IP-Address')
+test_string := %json.encode('request.NAS-IP-Address')
 
 # POST to https with JSON body data
 result_string := %rest('POST', "https://%{server_host}:%uri.safe(%{server_ssl_port})/user/%{User-Name}/mac/%{Called-Station-Id}?section=accounting", %{test_string})