Browse code

Ermögliche lange nTLDs

Bernd Wurst authored on28/01/2018 06:36:40
Showing1 changed files
... ...
@@ -220,5 +220,5 @@ function check_emailaddr( $input )
220 220
 
221 221
 function check_domain( $input )
222 222
 {
223
-  return (bool) preg_match("/[a-z0-9\.\-]+\.[a-z]{2,4}$/i", $input );
223
+  return (bool) preg_match("/[a-z0-9\.\-]+\.[a-z\-]{2,63}$/i", $input );
224 224
 }