From d30f08f91fdaf6673886452840c04c270ee42f00 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Wed, 4 Mar 2015 17:54:14 +0100 Subject: [PATCH] [fix] not detecting the LAST in alternative names --- ssl/panel/class/m_ssl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssl/panel/class/m_ssl.php b/ssl/panel/class/m_ssl.php index 26e5e3e1..d2ed2712 100644 --- a/ssl/panel/class/m_ssl.php +++ b/ssl/panel/class/m_ssl.php @@ -596,7 +596,7 @@ class m_ssl { */ function parseAltNames($str) { $mat = array(); - if (preg_match_all("#DNS:([^,]*),#", $str, $mat, PREG_PATTERN_ORDER)) { + if (preg_match_all("#DNS:([^,]*)#", $str, $mat, PREG_PATTERN_ORDER)) { return implode("\n", $mat[1]); } else { return "";