Allow non-lowercase hostnames
authorNico Kaiser <nico@kaiser.me>
Sun, 4 Aug 2013 21:56:06 +0000 (23:56 +0200)
committerNico Kaiser <nico@kaiser.me>
Sun, 4 Aug 2013 21:56:06 +0000 (23:56 +0200)
web/lib/Dyndns/Helper.php

index 26068ec..2f6db04 100644 (file)
@@ -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);
     }
 
     /**