Bladeren bron

Fixed a bug that was causing problems deleting messages with SM through SSL.

mattphillips 25 jaren geleden
bovenliggende
commit
5a93799a67
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 2 1
      functions/strings.php

+ 2 - 1
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);
               }
           }