summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Config
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2012-10-16 22:57:15 +0200
committerDave Lawrence <dlawrence@mozilla.com>2012-10-16 22:57:15 +0200
commite377a5b02799540d3a9df0fbb1f6fae90f8d9a5c (patch)
treec3f8bd0f0757b0a8c5b85edfbbe1a3998ddc1232 /Bugzilla/Config
parentaf38912df5c0f57ad40377119b91dd03d8f9b520 (diff)
downloadbugzilla-e377a5b02799540d3a9df0fbb1f6fae90f8d9a5c.tar.gz
bugzilla-e377a5b02799540d3a9df0fbb1f6fae90f8d9a5c.tar.xz
Bug 577329 - WebServices should filter email addresses same as the web UI as users are not always required to login
r/a=LpSolit
Diffstat (limited to 'Bugzilla/Config')
-rw-r--r--Bugzilla/Config/Auth.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/Bugzilla/Config/Auth.pm b/Bugzilla/Config/Auth.pm
index 579f86ad8..289536bbd 100644
--- a/Bugzilla/Config/Auth.pm
+++ b/Bugzilla/Config/Auth.pm
@@ -74,6 +74,12 @@ sub get_param_list {
},
{
+ name => 'webservice_email_filter',
+ type => 'b',
+ default => 0
+ },
+
+ {
name => 'emailregexp',
type => 't',
default => q:^[\\w\\.\\+\\-=]+@[\\w\\.\\-]+\\.[\\w\\-]+$:,