summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorChris Buechler <cmb@cmb-macbook-pro.local>2009-05-08 17:22:24 -0400
committerChris Buechler <cmb@cmb-macbook-pro.local>2009-05-08 17:22:24 -0400
commitcc4a5388feb3eb194685cd542bcb28a95b147cd2 (patch)
tree613a5343988554349e43d99c7c7eb70d3f8832fd /etc
parent9b590c5e3fb4924d8b28163d0d8c1a0b151b7390 (diff)
downloadpfsense-cc4a5388feb3eb194685cd542bcb28a95b147cd2.zip
pfsense-cc4a5388feb3eb194685cd542bcb28a95b147cd2.tar.gz
colons are valid in usernames, such as for no-ip subaccounts.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/util.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc
index d1f318f..47fde5b 100644
--- a/etc/inc/util.inc
+++ b/etc/inc/util.inc
@@ -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;
OpenPOWER on IntegriCloud