[RADIATOR] Possible bug in RewriteUsername

Vangelis Kyriakakis vkyriak at forthnet.gr
Thu Jan 11 11:37:19 UTC 2018


Hello and happy new year,

It seems that there is a problem with RewriteUsername function. When I
try to rewrite something like @domain (@ next to a word) I get an error.
Example:

Using

RewriteUsername s/^(.*)@domain$/$1/

I get the following error while authenticating user at domain

ERR: Error while rewriting username user at domain: Global symbol "@domain"
requires explicit package name at (eval 172) line 1.

If I use

RewriteUsername s/^(.*)@[d]omain$/$1/

the rewriting succeedes.
The same happens for every word after the @.

Is this a bug, or I'm missig something?

        Regards
             Vangelis






More information about the radiator mailing list