projects
/
Dyndns
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5f9c94
)
Allow non-lowercase hostnames
author
Nico Kaiser
<nico@kaiser.me>
Sun, 4 Aug 2013 21:56:06 +0000
(23:56 +0200)
committer
Nico Kaiser
<nico@kaiser.me>
Sun, 4 Aug 2013 21:56:06 +0000
(23:56 +0200)
web/lib/Dyndns/Helper.php
patch
|
blob
|
history
diff --git
a/web/lib/Dyndns/Helper.php
b/web/lib/Dyndns/Helper.php
index
26068ec
..
2f6db04
100644
(file)
--- 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-z
A-Z
0-9.-]+$/', $hostname);
}
/**