users/hints/etc parser does not allow tabs after attribute name #796

Closed
aldem opened this Issue Sep 17, 2014 · 0 comments

Projects

None yet

1 participant

@aldem
aldem commented Sep 17, 2014

Hi,

If we have an entry in users file like this:

<TAB>Framed-IP-Address<TAB> = 1.2.3.4

it will fail saying "Invalid attribute name", while it looks completely OK (as tabs are invisible and quite valid as whitespace everywhere else).

It did work long time ago (v2.2 at least) but it does not now (3.0.1+), and the relevant code is here: https://github.com/FreeRADIUS/freeradius-server/blob/278306422eda760c0b06385b0508461b3034652c/src/lib/valuepair.c#L1981

@alandekok alandekok closed this in 32d560c Sep 17, 2014
@pwdng pwdng added a commit to pwdng/freeradius-server that referenced this issue Oct 24, 2014
@alandekok @pwdng alandekok + pwdng Be less picky about attribute names. Closes #796 d39800e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment