}
/* SquirrelMail version number -- DO NOT CHANGE */
- $version = "0.6pre1 (cvs)";
+ $version = "1.0pre1 (cvs)";
function find_mailbox_name ($mailbox) {
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);
}
}