Default HTTPS post is 443 (unless stated otherwise), not 143

This commit is contained in:
Christoph Wickert 2012-04-17 16:45:53 +02:00
parent e666187312
commit e935cdbf78

View file

@ -2403,7 +2403,7 @@ class calendar extends rcube_plugin
$default_port = 80;
if (rcube_https_check()) {
$schema = 'https';
$default_port = 143;
$default_port = 443;
}
$url = $schema . '://' . $_SERVER['HTTP_HOST'];
if ($_SERVER['SERVER_PORT'] != $default_port)