Changed behaviour in v3.x

Arran Cudbard-Bell a.cudbardb at freeradius.org
Mon Jan 27 19:17:40 CET 2014


On 27 Jan 2014, at 18:01, Arran Cudbard-Bell <a.cudbardb at freeradius.org> wrote:

> 
> On 27 Jan 2014, at 17:50, <stefan.paetow at diamond.ac.uk> <stefan.paetow at diamond.ac.uk> wrote:
> 
>> Hi, 
>> 
>> In my post-auth section, I get the exact date and time in a specific format using /bin/date, and feed that back into an attribute. I've noticed though that now the back-tick exec appends a '\n' (a carriage return) to the end, which it did not do in FR2. Is that now correct (and expected) behaviour?
> 
> Ah I figured that was expected behaviour. You can after all write a script which does not output a trailing \n.
> 
> I'll poke it to strip off the whitespace and update the tests.

Done.

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: 881 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140127/826270e8/attachment.pgp>


More information about the Freeradius-Users mailing list