tbrehm
2010-09-16 9ae403365633fd4731ab88b61d332c25b1f5c577
Changed max. length for PTR records from 64 to 255 chars.
2 files modified
6 ■■■■ changed files
install/sql/ispconfig3.sql 2 ●●● patch | view | raw | blame | history
interface/web/dns/form/dns_ptr.tform.php 4 ●●●● patch | view | raw | blame | history
install/sql/ispconfig3.sql
@@ -202,7 +202,7 @@
  `sys_perm_other` varchar(5) NOT NULL,
  `server_id` int(11) NOT NULL default '1',
  `zone` int(11) unsigned NOT NULL,
  `name` varchar(64) NOT NULL,
  `name` varchar(255) NOT NULL,
  `type` enum('A','AAAA','ALIAS','CNAME','HINFO','MX','NAPTR','NS','PTR','RP','SRV','TXT') default NULL,
  `data` varchar(255) NOT NULL,
  `aux` int(11) unsigned NOT NULL default '0',
interface/web/dns/form/dns_ptr.tform.php
@@ -78,7 +78,7 @@
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
            'validators'    => array (     0 => array (    'type'    => 'REGEX',
                                                        'regex' => '/^[\w\.\-]{1,64}$/',
                                                        'regex' => '/^[\w\.\-]{1,256}$/',
                                                        'errmsg'=> 'name_error_regex'),
                                    ),
            'default'    => '',
@@ -100,7 +100,7 @@
            'validators'    => array (     0 => array (    'type'    => 'NOTEMPTY',
                                                        'errmsg'=> 'data_error_empty'),
                                        1 => array (    'type'    => 'REGEX',
                                                        'regex' => '/^[\w\.\-]{1,64}$/',
                                                        'regex' => '/^[\w\.\-]{1,256}$/',
                                                        'errmsg'=> 'data_error_regex'),
                                    ),
            'default'    => '',