diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-08-27 08:26:34 -0400 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-08-27 09:44:52 -0400 |
commit | b155730f717c33c8bbdc20d4931fbedaf6290774 (patch) | |
tree | d9f8d054743b19b9beb3938ed209baee6a19ba76 | |
parent | 152d4cad19f911040a5edf9a36f4ca5d35281f2f (diff) | |
download | pfsense-b155730f717c33c8bbdc20d4931fbedaf6290774.zip pfsense-b155730f717c33c8bbdc20d4931fbedaf6290774.tar.gz |
Fixed $5022
Programmer used a GET form on a POST page.
See some openssl error messages but this may ne normal.
-rw-r--r-- | src/usr/local/www/system_camanager.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/usr/local/www/system_camanager.php b/src/usr/local/www/system_camanager.php index f2bb3e5..c5a3138 100644 --- a/src/usr/local/www/system_camanager.php +++ b/src/usr/local/www/system_camanager.php @@ -40,6 +40,7 @@ require("guiconfig.inc"); require_once("certs.inc"); +print_r($_POST); $ca_methods = array( "existing" => gettext("Import an existing Certificate Authority"), @@ -246,16 +247,17 @@ if ($_POST) { array_push($input_errors, gettext("Please select a valid Digest Algorithm.")); } } - + print('Here 1<br />'); /* if this is an AJAX caller then handle via JSON */ if (isAjax() && is_array($input_errors)) { + print('Here 2<br />'); input_errors2Ajax($input_errors); exit; } /* save modifications */ if (!$input_errors) { - + print('Here 3<br />'); $ca = array(); if (!isset($pconfig['refid']) || empty($pconfig['refid'])) { $ca['refid'] = uniqid(); @@ -438,7 +440,7 @@ foreach ($a_ca as $i => $ca): require('classes/Form.class.php'); $form = new Form; -$form->setAction('system_camanager.php?act=edit'); +//$form->setAction('system_camanager.php?act=edit'); if (isset($id) && $a_ca[$id]) { $form->addGlobal(new Form_Input( |