diff options
author | Bill Marquette <billm@pfsense.org> | 2005-06-27 05:18:13 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2005-06-27 05:18:13 +0000 |
commit | cae9d5fd0b669d01027c5f0d917869a3fce87e87 (patch) | |
tree | d5ecd432f3dd48f4e5b02531c4ea5c77796dffc6 /usr/local/www/vpn_ipsec_ca_edit.php | |
parent | 2fe045e54700fb8578a7999151bd8f19bc748740 (diff) | |
download | pfsense-cae9d5fd0b669d01027c5f0d917869a3fce87e87.zip pfsense-cae9d5fd0b669d01027c5f0d917869a3fce87e87.tar.gz |
regexp needed @ backslashed
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])) { |