From 729e221d58c1e0dafb027ddef399c9f5a210b1d0 Mon Sep 17 00:00:00 2001 From: Gervase Markham Date: Tue, 8 Mar 2011 16:06:38 +0000 Subject: Bug 622513 - Email-related regexp checking should be case-insensitive. a=mkanat. --- createaccount.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'createaccount.cgi') diff --git a/createaccount.cgi b/createaccount.cgi index c2941bc4c..db0727add 100755 --- a/createaccount.cgi +++ b/createaccount.cgi @@ -65,7 +65,7 @@ if (defined($login)) { $login = Bugzilla::User->check_login_name_for_creation($login); $vars->{'login'} = $login; - if ($login !~ /$createexp/) { + if ($login !~ /$createexp/i) { ThrowUserError("account_creation_restricted"); } -- cgit v1.2.1