Linelog and \n escaping.

Arran Cudbard-Bell a.cudbardb at freeradius.org
Sat Feb 13 16:13:28 CET 2016


> On 12 Feb 2016, at 22:51, Peter Lambrechtsen <peter at crypt.co.nz> wrote:
> 
> I've used linelog in 2.x for a while where I set a number of temp VSAs and
> have in my mod config format="%{MSG1}\n{MSG2}"
> 
> I see now in 3 that they get escaped.

It doesn't look like they get escaped in 3.1.x, we instead use an escape function to escape them only in expansions which seems like the most sensible behaviour.

-Arran

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS development team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

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


More information about the Freeradius-Users mailing list