From: Alan T. DeKok Date: Wed, 27 Sep 2023 23:45:47 +0000 (-0400) Subject: test function call inside of function argument X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c0b32d8f1b09539d76dcbde4b136faaeb1d099c;p=thirdparty%2Ffreeradius-server.git test function call inside of function argument --- diff --git a/src/tests/unit/xlat/purify.txt b/src/tests/unit/xlat/purify.txt index 15903b8c328..4de530afdce 100644 --- a/src/tests/unit/xlat/purify.txt +++ b/src/tests/unit/xlat/purify.txt @@ -237,6 +237,12 @@ match "a""b""c""d" xlat_purify %md5(foo) match 0xacbd18db4cc2f85cedef654fccc4a4d8 +xlat_purify %md5(%md5(foo)) +match 0x47847ae721df523d6388aebc9c94d656 + +xlat_purify %md5('%md5(foo)') +match 0x5e153571422b69cf5c5f7ce5f03985b5 + # # Because this isn't a reference to the contents of &User-Name # @@ -254,4 +260,4 @@ xlat_purify %md5(&User-Name) match 0x14d23a6ed8e7d19fcb3a38dc86c1fc0b count -match 112 +match 116