From 2c485d7f02bf0347ee0801655a73ccea303e5a70 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sat, 26 Oct 2013 07:42:32 -0400 Subject: [PATCH] - The SSLPort setting did not exist, no reason to try it - The tests for this function always force port 443, no reason to use a port that would be in the original URL --- libraries/Config.class.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/libraries/Config.class.php b/libraries/Config.class.php index a79260f6ce..5db8f9dff0 100644 --- a/libraries/Config.class.php +++ b/libraries/Config.class.php @@ -1379,12 +1379,7 @@ class PMA_Config } // Reconstruct URL using parsed parts - if ($this->get('SSLPort')) { - $port_number = $this->get('SSLPort'); - } else { - $port_number = 443; - } - return 'https://' . $parsed['host'] . ':' . $port_number . $parsed['path']; + return 'https://' . $parsed['host'] . ':443' . $parsed['path']; } /**