rlm_detail header not expanding \t
Matthew Newton
mcn4 at leicester.ac.uk
Wed Sep 9 18:30:34 CEST 2015
On Wed, Sep 09, 2015 at 12:21:34PM -0400, Alan DeKok wrote:
> On Sep 9, 2015, at 12:07 PM, Matthew Newton <mcn4 at leicester.ac.uk> wrote:\
> > i.e. the \t is silently discarded and expands to nothing.
>
> You probably need:
>
> header = '%t\t%{Client-IP-Address}'
That doesn't work either, unfortunately.
> > I can get around it by putting a physical tab char in the config,
> > but is this intended?
>
> It's probably a side effect of us re-doing all of the escaping rules.
I figured.
I just found that with correct_escapes set to false, it *does* work.
> > Have stared at the radius_xlat code for too many minutes and
> > figured it'd be quicker to ask... :)
>
> That code is magic. Magically confusing. :(
"Magic" wasn't quite the word I was thinking. But is still cleaner
than a lot of the code on the Internet...
Matthew
--
Matthew Newton, Ph.D. <mcn4 at le.ac.uk>
Systems Specialist, Infrastructure Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom
For IT help contact helpdesk extn. 2253, <ithelp at le.ac.uk>
More information about the Freeradius-Users
mailing list