Code

updated check for hostnames^
[gosa.git] / include / functions.inc
index 2d258716d34f73edfabd48a70db1f58e361cd457..f20ec5c9ddb4f94b8364a321e90de6d5af65e359 100644 (file)
@@ -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)