6 Apr
2020
6 Apr
'20
12:36 p.m.
On Apr 6, 2020, at 12:18 PM, Chaigneau, Nicolas via Freeradius-Devel <freeradius-devel@lists.freeradius.org> wrote:
I've been using xlat functions with dots in their names, e.g. "my.function". It worked fine until recently (well, that was more than a month ago), but not anymore with current master HEAD.
The code that prevents it from working now is the following (in xlat_tokenize_function):
https://github.com/FreeRADIUS/freeradius-server/blob/master/src/lib/unlang/x...
/* * Special characters, spaces, etc. cannot be * module names. */ if (*q < '0') return 0;
I think this might be unintended. Could you look into this ?
Dots and dashes should be allowed. I'll push a fix. Alan DeKok.