On 27 Jan 2014, at 18:01, Arran Cudbard-Bell <a.cudbardb@freeradius.org> wrote:
On 27 Jan 2014, at 17:50, <stefan.paetow@diamond.ac.uk> <stefan.paetow@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@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2