From: Alan T. DeKok Date: Wed, 14 Sep 2022 02:37:07 +0000 (-0400) Subject: %{...} can be T_BARE_WORD X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06023881794eeded2a8898ff147e5e0f831312af;p=thirdparty%2Ffreeradius-server.git %{...} can be T_BARE_WORD --- diff --git a/src/lib/server/tmpl_tokenize.c b/src/lib/server/tmpl_tokenize.c index 4b2e56a1867..fd816a71c55 100644 --- a/src/lib/server/tmpl_tokenize.c +++ b/src/lib/server/tmpl_tokenize.c @@ -5118,7 +5118,7 @@ ssize_t tmpl_preparse(char const **out, size_t *outlen, char const *in, size_t i * xlats will be treated as strongly typed values * / lists on their own. */ - *type = T_DOUBLE_QUOTED_STRING; + if (*type == T_INVALID) *type = T_BARE_WORD; depth = 0; close = (p[1] == '{') ? '}' : ')';