Florian Schaal
2015-06-02 91b6ac2752c03b641702aecd5968da299e43b70b
FS#1212 - IP Address in fetchmail - allow ipv4 or hostname for pop/imap-server
1 files modified
2 ■■■ changed files
interface/web/mail/form/mail_get.tform.php 2 ●●● patch | view | raw | blame | history
interface/web/mail/form/mail_get.tform.php
@@ -94,7 +94,7 @@
            'validators' => array (  0 => array ( 'type' => 'NOTEMPTY',
                    'errmsg'=> 'source_server_error_isempty'),
                1 => array ( 'type' => 'REGEX',
                    'regex' => '/^[\w\.\-]{2,64}\.[a-zA-Z\-]{2,10}$/',
                    'regex' => '/^([\w\.\-]{2,64}\.[a-zA-Z\-]{2,10}|(?:[0-9]{1,3}\.){3}[0-9]{1,3})$/',
                    'errmsg'=> 'source_server_error_regex'),
            ),
            'default' => '',