From: Nico Kaiser Date: Sun, 4 Aug 2013 21:56:06 +0000 (+0200) Subject: Allow non-lowercase hostnames X-Git-Tag: v1.0.0~6 X-Git-Url: http://git.neszt.hu/?a=commitdiff_plain;h=46581c324a8e597561b02c915b0fa0577f4abdc9;p=Dyndns%2F.git Allow non-lowercase hostnames --- diff --git a/web/lib/Dyndns/Helper.php b/web/lib/Dyndns/Helper.php index 26068ec..2f6db04 100644 --- a/web/lib/Dyndns/Helper.php +++ b/web/lib/Dyndns/Helper.php @@ -38,7 +38,7 @@ class Helper */ public static function checkValidHost($hostname) { - return preg_match('/^[a-z0-9.-]+$/', $hostname); + return preg_match('/^[a-zA-Z0-9.-]+$/', $hostname); } /**