From c9435bcf367b6a54d396caf9d4fac4c39b43167a Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Wed, 29 Aug 2012 05:23:36 -0400
Subject: [PATCH] Fixed: FS#2324 - Moving a mail domain from a client to another doesn't work totally?
---
interface/web/dns/form/dns_srv.tform.php | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/interface/web/dns/form/dns_srv.tform.php b/interface/web/dns/form/dns_srv.tform.php
index a5e0004..0891c92 100644
--- a/interface/web/dns/form/dns_srv.tform.php
+++ b/interface/web/dns/form/dns_srv.tform.php
@@ -78,7 +78,7 @@
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'REGEX',
- 'regex' => '/^[\w\.\-]{0,64}$/',
+ 'regex' => '/^[\w\.\-]{0,255}$/',
'errmsg'=> 'name_error_regex'),
),
'default' => '',
@@ -99,16 +99,15 @@
'formtype' => 'TEXT',
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
'errmsg'=> 'data_error_empty'),
- 1 => array ( 'type' => 'REGEX',
- 'regex' => '/^[\w\.\-]{0,64}\s[\w\.\-]{0,64}\s[\w\.\-]{0,64}$/',
- 'errmsg'=> 'srv_error_regex'),
+ 1 => array ( 'type' => 'REGEX',
+ 'regex' => '/^[\w\.\-]{0,64}\s[\w\.\-]{0,64}\s[\w\.\-]{0,64}$/',
+ 'errmsg'=> 'srv_error_regex'),
),
'default' => '',
'value' => '',
'width' => '30',
'maxlength' => '255'
),
- /*
'aux' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
@@ -117,7 +116,6 @@
'width' => '10',
'maxlength' => '10'
),
- */
'ttl' => array (
'datatype' => 'INTEGER',
'formtype' => 'TEXT',
--
Gitblit v1.9.1