From 46581c324a8e597561b02c915b0fa0577f4abdc9 Mon Sep 17 00:00:00 2001 From: Nico Kaiser Date: Sun, 4 Aug 2013 23:56:06 +0200 Subject: [PATCH] Allow non-lowercase hostnames --- web/lib/Dyndns/Helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } /** -- 2.1.4