From: Nick Porter Date: Mon, 18 Dec 2023 11:01:04 +0000 (+0000) Subject: Xlats can begin with digits (e.g. %3gpp_...) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84ca2abf7f630ed67b0dcafbe0970691175827b3;p=thirdparty%2Ffreeradius-server.git Xlats can begin with digits (e.g. %3gpp_...) --- diff --git a/src/lib/unlang/xlat_tokenize.c b/src/lib/unlang/xlat_tokenize.c index 82731826311..231f72ba45e 100644 --- a/src/lib/unlang/xlat_tokenize.c +++ b/src/lib/unlang/xlat_tokenize.c @@ -998,7 +998,7 @@ static int xlat_tokenize_input(xlat_exp_head_t *head, fr_sbuff_t *in, /* * % non-alphanumeric, create a value-box for just the "%" character. */ - if (!fr_sbuff_is_alpha(in)) { + if (!fr_sbuff_is_alnum(in)) { if (fr_sbuff_next_if_char(in, '%')) { /* nothing */ } str = talloc_typed_strdup(node, "%");