summaryrefslogtreecommitdiffstats
path: root/defparams.pl
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2004-02-26 09:07:23 +0100
committerjocuri%softhome.net <>2004-02-26 09:07:23 +0100
commite09500e15816714ae4967613dee7e436c6868e13 (patch)
tree754b4e8f1429bdd19a9154deb57a8b6f524013ef /defparams.pl
parent3f5f2ce70463b56d5e85ea0982ce1ef2196f56d8 (diff)
downloadbugzilla-e09500e15816714ae4967613dee7e436c6868e13.tar.gz
bugzilla-e09500e15816714ae4967613dee7e436c6868e13.tar.xz
Patch for bug 65313; improves the email regexp in order to detect better invalid email addresses; r=gerv, a=justdave.
Diffstat (limited to 'defparams.pl')
-rw-r--r--defparams.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/defparams.pl b/defparams.pl
index e6cb16ac8..1d492de20 100644
--- a/defparams.pl
+++ b/defparams.pl
@@ -739,7 +739,7 @@ You will get this message once a day until you\'ve dealt with these bugs!
'popular value to put here is <tt>^[^@]+$</tt>, which means ' .
'"local usernames, no @ allowed."',
type => 't',
- default => q:^[^@]+@[^@]+\\.[^@]+$:,
+ default => q:^[\\w\\.\\+\\-=]+@[\\w\\.\\-]+\\.[\\w\\-]+$:,
checker => \&check_regexp
},