From: Alan Buxey Date: Wed, 28 Nov 2012 21:44:58 +0000 (+0000) Subject: adjusted and optimised match X-Git-Tag: release_2_2_1~209^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F138%2Fhead;p=thirdparty%2Ffreeradius-server.git adjusted and optimised match no longer case insensitive and doesnt store result --- diff --git a/raddb/policy.conf b/raddb/policy.conf index a45ba5ebaa..2668b29e3e 100644 --- a/raddb/policy.conf +++ b/raddb/policy.conf @@ -93,7 +93,7 @@ policy { # reject Multiple @'s # e.g. "user@site.com@site.com" # - if(User-Name =~ /@(.+)?@/i ) { + if(User-Name =~ /@.*@/ ) { update reply { Reply-Message += "Rejected: Multiple @ in username" }