diff options
author | Phil Davis <phil.davis@inf.org> | 2015-11-10 18:58:22 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2015-11-10 18:58:22 +0545 |
commit | 5a957b9a247a7bb798e7bc1f159492d9a0abded1 (patch) | |
tree | b8654439ccd37fab50de8f4840dd95ed6e7defce /src/usr/local/www/wizards | |
parent | 932711c7ec2a6cdd19a4a71b9812b1811dae348e (diff) | |
download | pfsense-5a957b9a247a7bb798e7bc1f159492d9a0abded1.zip pfsense-5a957b9a247a7bb798e7bc1f159492d9a0abded1.tar.gz |
More $Id and whitespace
from more obscure folders around the code
Diffstat (limited to 'src/usr/local/www/wizards')
3 files changed, 13 insertions, 4 deletions
diff --git a/src/usr/local/www/wizards/openvpn_wizard.inc b/src/usr/local/www/wizards/openvpn_wizard.inc index ee530a2..ddd857e 100644 --- a/src/usr/local/www/wizards/openvpn_wizard.inc +++ b/src/usr/local/www/wizards/openvpn_wizard.inc @@ -1,5 +1,8 @@ <?php /* + openvpn_wizard.inc +*/ +/* Copyright (C) 2010 Ermal Luçi All rights reserved. @@ -207,7 +210,7 @@ function step7_submitphpaction() { empty($_POST['organization']) || empty($_POST['email'])) { $stepid--; $savemsg = "Please enter all information for the new Certificate Authority."; - } elseif (has_special_chars($_POST['country']) || has_special_chars($_POST['state']) || + } elseif (has_special_chars($_POST['country']) || has_special_chars($_POST['state']) || has_special_chars($_POST['city']) || has_special_chars($_POST['organization'])) { $stepid--; $input_errors[] = "Please do not use special characters in Certificate field names."; @@ -298,7 +301,7 @@ function step9_submitphpaction() { $certnames[] = $cert['descr']; $certinfo = cert_get_subject_hash($cert['crt']); $certcns[] = $certinfo["CN"]; - } + } } if (preg_match("/[\?\>\<\&\/\\\"\']/", $_POST['descr'])) { @@ -310,13 +313,13 @@ function step9_submitphpaction() { empty($_POST['organization']) || empty($_POST['email'])) { $stepid--; $savemsg = "Please enter all information for the new certificate."; - } elseif (has_special_chars($_POST['country']) || has_special_chars($_POST['state']) || + } elseif (has_special_chars($_POST['country']) || has_special_chars($_POST['state']) || has_special_chars($_POST['city']) || has_special_chars($_POST['organization'])) { $stepid--; $input_errors[] = "Please do not use special characters in Certificate field names."; } elseif (in_array($_POST['descr'], $certnames) || in_array($_POST['descr'], $certcns)) { $stepid--; - $savemsg = "Please enter a different name for the Certificate. A Certificate with that name/common name already exists."; + $savemsg = "Please enter a different name for the Certificate. A Certificate with that name/common name already exists."; } elseif (strlen($_POST['country']) != 2) { $stepid--; $savemsg = "Please enter only a two-letter ISO country code"; diff --git a/src/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc b/src/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc index 6ed2b42..796752b 100644 --- a/src/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc +++ b/src/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc @@ -1,4 +1,7 @@ <?php +/* + traffic_shaper_wizard_dedicated.inc +*/ /* ==================================================================== * Copyright (c) 2004-2015 Electric Sheep Fencing, LLC. All rights reserved. * diff --git a/src/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc b/src/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc index 4cc2ba6..91b9b19 100644 --- a/src/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc +++ b/src/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc @@ -1,4 +1,7 @@ <?php +/* + traffic_shaper_wizard_multi_all.inc +*/ /* ==================================================================== * Copyright (c) 2004-2015 Electric Sheep Fencing, LLC. All rights reserved. * |