From 0f7d3e2306acbdf618ed2a2d48d1c8cf3457fd87 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Wed, 30 Jun 2010 06:06:16 -0400 Subject: [PATCH] Fixed regex for email filed to allow _ in email addresses. --- interface/web/dns/form/dns_soa.tform.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/interface/web/dns/form/dns_soa.tform.php b/interface/web/dns/form/dns_soa.tform.php index 66c2665..66ac103 100644 --- a/interface/web/dns/form/dns_soa.tform.php +++ b/interface/web/dns/form/dns_soa.tform.php @@ -108,7 +108,7 @@ 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', 'errmsg'=> 'mbox_error_empty'), 1 => array ( 'type' => 'REGEX', - 'regex' => '/^[[a-zA-Z0-9\.\-]{0,64}\.$/', + 'regex' => '/^[[a-zA-Z0-9\.\-\_]{0,64}\.$/', 'errmsg'=> 'mbox_error_regex'), ), 'default' => '', -- Gitblit v1.9.1