Happy new year to all of you too! Try escape the '@' sign (in perl, @word represents the array 'word'),
Try something like: RewriteUsername s/^(.*)\@domain$/$1/ Hope this helps. Regards, Amândio -----Mensagem original----- De: Vangelis Kyriakakis [mailto:[email protected]] Enviada: 11 de janeiro de 2018 11:37 Para: [email protected] Assunto: [RADIATOR] Possible bug in RewriteUsername 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@domain ERR: Error while rewriting username user@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 _______________________________________________ radiator mailing list [email protected] http://lists.open.com.au/mailman/listinfo/radiator
