From: hickert Date: Thu, 25 Oct 2007 14:36:51 +0000 (+0000) Subject: updated check for hostnames^ X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a72270fe3b2b2a3df6cfc6bbca0f18ee1f966c5b;p=gosa.git updated check for hostnames^ git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7667 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/functions.inc b/include/functions.inc index 2d258716d..f20ec5c9d 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -957,7 +957,7 @@ function is_phone_nr($nr) function is_dns_name($str) { - return(preg_match("/^[a-z0-9\.\-_\:]*$/i",$str)); + return(preg_match("/^[a-z0-9\.\-]*$/i",$str)); } function is_url($url)