"Internal sanity check failed" After adding second Home Server

Alberto Martínez alberto_martinez at deusto.es
Wed Feb 29 16:21:41 CET 2012


>
> if("%{User-Name}" =~ /\\\\?([^@\\\\]+)@?([-[:alnum:]._]*)?$/) {
>

I'm not that good with POSIX regex, but shouldn't it be
if("%{User-Name}" =~ /\\\\?([^@\\\\]+)@?([-[:alnum:]\._]*)?$/) {

AFAIK the dot "." means "any char" so I think it needs to be escaped.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20120229/a6a5ef5a/attachment.html>


More information about the Freeradius-Users mailing list