colons are valid in usernames, such as for no-ip subaccounts.

This commit is contained in:
Chris Buechler 2009-05-08 17:22:24 -04:00
parent 9b590c5e3f
commit cc4a5388fe

View File

@ -180,7 +180,7 @@ function is_dyndns_username($uname) {
if (!is_string($uname))
return false;
if (preg_match("/[^a-z0-9\-.@_]/i", $uname))
if (preg_match("/[^a-z0-9\-.@_:]/i", $uname))
return false;
else
return true;