Till Brehm
2014-02-16 336368dbf1f0598d1383ba4e9a76c129431e8934
Fixed: FS#2875 - Punycode domain name is not supports at Crone command line
1 files modified
2 ■■■ changed files
interface/lib/classes/validate_cron.inc.php 2 ●●● patch | view | raw | blame | history
interface/lib/classes/validate_cron.inc.php
@@ -52,7 +52,7 @@
            if($parsed["scheme"] != "http" && $parsed["scheme"] != "https") return $this->get_error($validator['errmsg']);
            if(preg_match("'^([a-z0-9][a-z0-9-]{0,62}\.)+([a-z]{2,30})$'i", $parsed["host"]) == false) return $this->get_error($validator['errmsg']);
            if(preg_match("'^([a-z0-9][a-z0-9\-]{0,62}\.)+([A-Za-z0-9\-]{2,30})$'i", $parsed["host"]) == false) return $this->get_error($validator['errmsg']);
        }
    }