summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2014-10-21 01:54:13 -0500
committerChris Buechler <cmb@pfsense.org>2014-10-21 01:54:13 -0500
commit9b86d3fe6ff9edc2c0b73c3d543c088b0030e142 (patch)
treebc3c2a19b32f7415be34937b33730823d196d9e5 /usr/local
parent2fb669485897c0033afde56d0ac4cc37dbf13494 (diff)
downloadpfsense-9b86d3fe6ff9edc2c0b73c3d543c088b0030e142.zip
pfsense-9b86d3fe6ff9edc2c0b73c3d543c088b0030e142.tar.gz
+ is a valid character in some dynamic DNS providers' usernames. Fixes #3912
Diffstat (limited to 'usr/local')
-rw-r--r--usr/local/www/services_dyndns_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_dyndns_edit.php b/usr/local/www/services_dyndns_edit.php
index 620e06b..d6f4391 100644
--- a/usr/local/www/services_dyndns_edit.php
+++ b/usr/local/www/services_dyndns_edit.php
@@ -42,7 +42,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