From 331c50a6fb0629bdc0ec8be46eabefd356e19e4d Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Fri, 7 Mar 2014 10:10:20 -0300 Subject: [PATCH] Skip input validation when choosing an existing certificate, it should fix #3505 --- usr/local/www/system_certmanager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/www/system_certmanager.php b/usr/local/www/system_certmanager.php index 8304263e5d..7acc2eb6ca 100644 --- a/usr/local/www/system_certmanager.php +++ b/usr/local/www/system_certmanager.php @@ -240,7 +240,7 @@ if ($_POST) { $altnames = array(); do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors); - if ($pconfig['method'] != "import") { + if ($pconfig['method'] != "import" && $pconfig['method'] != "existing") { /* subjectAltNames */ foreach ($_POST as $key => $value) { $entry = '';