summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jim@pingle.org>2010-03-24 10:21:14 -0400
committerjim-p <jim@pingle.org>2010-03-24 10:21:54 -0400
commit6f02633de9548df02feb9399fe36cf0c78f6205a (patch)
treeb175f9861722a234967c689a8260b0a1d63c4aa6
parent25f36aaf6d1a2d1e71c19f6a56f70a8ec9e353c0 (diff)
downloadpfsense-6f02633de9548df02feb9399fe36cf0c78f6205a.zip
pfsense-6f02633de9548df02feb9399fe36cf0c78f6205a.tar.gz
'@' Is also a valid PPPoE username character.
-rwxr-xr-xusr/local/www/vpn_pppoe_users_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/vpn_pppoe_users_edit.php b/usr/local/www/vpn_pppoe_users_edit.php
index 4450c56..450a593 100755
--- a/usr/local/www/vpn_pppoe_users_edit.php
+++ b/usr/local/www/vpn_pppoe_users_edit.php
@@ -81,7 +81,7 @@ if ($_POST) {
do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors);
- if (preg_match("/[^a-zA-Z0-9\.\-_]/", $_POST['username']))
+ if (preg_match("/[^a-zA-Z0-9\.\-\@_]/", $_POST['username']))
$input_errors[] = "The username contains invalid characters.";
if (preg_match("/[^a-zA-Z0-9\.\-_]/", $_POST['password']))
OpenPOWER on IntegriCloud