[master] questions about recent changes in xlat

Alan DeKok aland at deployingradius.com
Sun Oct 25 15:32:38 CET 2020


On Oct 24, 2020, at 6:00 PM, Chaigneau, Nicolas via Freeradius-Devel <freeradius-devel at lists.freeradius.org> wrote:
> Thanks, but... I can't figure out how to handle escaping of a "%" right now. :/
> I've tried the following:
> 
> 1)
> \%{
> This returns an error: "Missing closing brace".
> 
> 2)
> \%D
> Xlat outputs: "\20201024".
> 
> So... I'm confused right now. What am I doing wrong ?

  Not much.

  I've added some tests in commit 95f1d5c1.

  And yes, \%{ results in \%{.

  Alan DeKok.




More information about the Freeradius-Devel mailing list