From 654cdedcfe361fc07669a5f9d1e094b8d26a4d39 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Tue, 2 Sep 2014 08:42:19 -0700 Subject: [PATCH] allow - in user pref email, RT#30664 --- httemplate/pref/pref.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httemplate/pref/pref.html b/httemplate/pref/pref.html index 5455e428e..4d6005a4c 100644 --- a/httemplate/pref/pref.html +++ b/httemplate/pref/pref.html @@ -297,7 +297,7 @@ $customer_views{'Jumbo'} = 'jumbo'; =~ /^(\w+)$/ or die "illegal menu_position"; my $menu_position = $1; ( $curuser->option('email_address') ) - =~ /^([,\w\@.]*)$/ or die "illegal email_address"; #too late + =~ /^([,\w\@.\-]*)$/ or die "illegal email_address"; #too late my $email_address = $1; -- 2.11.0