diff options
Diffstat (limited to 'usr/local/www/vpn_ipsec_ca_edit.php')
-rwxr-xr-x | usr/local/www/vpn_ipsec_ca_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/vpn_ipsec_ca_edit.php b/usr/local/www/vpn_ipsec_ca_edit.php index fd149e0..3c1fd00 100755 --- a/usr/local/www/vpn_ipsec_ca_edit.php +++ b/usr/local/www/vpn_ipsec_ca_edit.php @@ -60,7 +60,7 @@ if ($_POST) { do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors); - if (preg_match("/[^a-zA-Z0-9@\.\-]/", $_POST['ident'])) + if (preg_match("/[^a-zA-Z0-9\@\.\-]/", $_POST['ident'])) $input_errors[] = "The identifier contains invalid characters."; if (!$input_errors && !(isset($id) && $a_secret[$id])) { |