tbrehm
2010-06-30 0f7d3e2306acbdf618ed2a2d48d1c8cf3457fd87
Fixed regex for email filed to allow _ in email addresses.
1 files modified
2 ■■■ changed files
interface/web/dns/form/dns_soa.tform.php 2 ●●● patch | view | raw | blame | history
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'    => '',