aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla/WebService
diff options
context:
space:
mode:
authorGervase Markham <gerv@gerv.net>2011-03-08 16:06:38 +0000
committerGervase Markham <gerv@mozilla.org>2011-03-08 16:06:38 +0000
commit729e221d58c1e0dafb027ddef399c9f5a210b1d0 (patch)
tree247bd9149dfb292bc0807154f090b70fb0d0f736 /Bugzilla/WebService
parent42087849369d5d8d90e6ea000b02791ca40b1164 (diff)
downloadbugs-729e221d58c1e0dafb027ddef399c9f5a210b1d0.tar
bugs-729e221d58c1e0dafb027ddef399c9f5a210b1d0.tar.gz
bugs-729e221d58c1e0dafb027ddef399c9f5a210b1d0.tar.bz2
bugs-729e221d58c1e0dafb027ddef399c9f5a210b1d0.tar.xz
bugs-729e221d58c1e0dafb027ddef399c9f5a210b1d0.zip
Bug 622513 - Email-related regexp checking should be case-insensitive. a=mkanat.
Diffstat (limited to 'Bugzilla/WebService')
-rw-r--r--Bugzilla/WebService/User.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/WebService/User.pm b/Bugzilla/WebService/User.pm
index 9f118d4a6..b9434059d 100644
--- a/Bugzilla/WebService/User.pm
+++ b/Bugzilla/WebService/User.pm
@@ -95,7 +95,7 @@ sub offer_account_by_email {
if (!$createexp) {
ThrowUserError("account_creation_disabled");
}
- elsif ($email !~ /$createexp/) {
+ elsif ($email !~ /$createexp/i) {
ThrowUserError("account_creation_restricted");
}