rlm_detail header not expanding \t

Alan DeKok aland at deployingradius.com
Sat Sep 12 15:58:03 CEST 2015

On Sep 9, 2015, at 5:22 PM, Matthew Newton <mcn4 at leicester.ac.uk> wrote:
> Thanks - better than before, but not what I was expecting. Now "\"
> is always literal: "%t\t...", '%t\t...' with correct_escapes set
> to either true or false always outputs:
>  Wed Sep  9 22:17:14 2015\t127.0.0.1
> But at least it's consistent :)

  The solution is probably to smash \t, \n, etc. to their respective characters.  The location to do so would be in the same place I put that last patch.

  The best method is probably to look at the XLAT_LITERAL after it's been parsed.  Then, call gettoken() to do the escaping.

> (now hacking on a debian packaging / certs/Makefile issue...)

  As always, patches are welcome. :)

  Alan DeKok.

More information about the Freeradius-Users mailing list