From d6f5495a8022bebb44f2dc31278ecea0d3992854 Mon Sep 17 00:00:00 2001 From: mattphillips Date: Wed, 8 Nov 2000 15:21:36 +0000 Subject: [PATCH] Fixed a bug that was causing problems deleting messages with SM through SSL. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@842 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/strings.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions/strings.php b/functions/strings.php index 5a8405e1..6787c40d 100644 --- a/functions/strings.php +++ b/functions/strings.php @@ -248,7 +248,8 @@ if (! strstr($host, ':')) { if (isset($SERVER_PORT)) { - if ($SERVER_PORT != 80) { + if (($SERVER_PORT != 80 && $proto == "http://") + || ($SERVER_PORT != 443 && $proto == "https://")) { $port = sprintf(':%d', $SERVER_PORT); } } -- 2.25.1