From a72270fe3b2b2a3df6cfc6bbca0f18ee1f966c5b Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 25 Oct 2007 14:36:51 +0000 Subject: [PATCH] updated check for hostnames^ git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7667 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/functions.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2