From ea379616f044da73c8f927e2ed4bbb23516c8fdb Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Thu, 02 Aug 2007 08:20:10 -0400 Subject: [PATCH] Added client limits to the DNS module. --- interface/web/dns/form/dns_soa.tform.php | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/interface/web/dns/form/dns_soa.tform.php b/interface/web/dns/form/dns_soa.tform.php index cf5f0d1..89ff4f9 100644 --- a/interface/web/dns/form/dns_soa.tform.php +++ b/interface/web/dns/form/dns_soa.tform.php @@ -107,7 +107,8 @@ 'formtype' => 'TEXT', 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', 'errmsg'=> 'mbox_error_empty'), - 1 => array ( 'type' => 'ISEMAIL', + 0 => array ( 'type' => 'REGEX', + 'regex' => '/^[\w\.\-]{0,64}$/', 'errmsg'=> 'mbox_error_regex'), ), 'default' => '', -- Gitblit v1.9.1