Glitches in the expr engine?

Arran Cudbard-Bell a.cudbardb at freeradius.org
Thu Mar 2 20:57:20 CET 2017


> On Mar 2, 2017, at 2:49 PM, Stefan Paetow <Stefan.Paetow at jisc.ac.uk> wrote:
> 
> So today I had one of my sites deploy the new moonshot-targeted-ids file
> in the 3.0.x branch.
> 
> Everything so far, so good. Then I ask him to use a random string as the
> salt (which contained a closing curly bracket). The output was definitely
> *not* what was expected. This example below (salt = 'changeme}')
> illustrates the problem:

Yes, you need to escape curly close braces in xlat expansions.

The escape sequence is %}

-Arran

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20170302/a8c49a4f/attachment-0001.sig>


More information about the Freeradius-Users mailing list