]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
If arguments contain comments, they need to be quoted
authorAlan T. DeKok <aland@freeradius.org>
Fri, 5 Jan 2024 13:59:31 +0000 (08:59 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 5 Jan 2024 13:59:31 +0000 (08:59 -0500)
src/tests/modules/ldap/xlat_profile.unlang

index 593ad373157d64410b383f1533cfc7807aad1f34..96317e8943170e079e4b7b537930929bc9e10c38 100644 (file)
@@ -1,4 +1,4 @@
-if (!%ldap.profile(ldap:///cn=profile2,ou=profiles,dc=example,dc=com)) {
+if (!%ldap.profile('ldap:///cn=profile2,ou=profiles,dc=example,dc=com')) {
        test_fail
 }
 
@@ -10,7 +10,7 @@ if (!((&reply.Framed-IP-Netmask == 255.255.128.0) && \
        test_fail
 }
 
-if (!%(ldap.profile:cn=suspended,ou=profiles,dc=example,dc=com)) {
+if (!%ldap.profile('cn=suspended,ou=profiles,dc=example,dc=com')) {
       test_fail
 }