Default HTTPS post is 443 (unless stated otherwise), not 143
This commit is contained in:
parent
e666187312
commit
e935cdbf78
1 changed files with 1 additions and 1 deletions
|
@ -2403,7 +2403,7 @@ class calendar extends rcube_plugin
|
||||||
$default_port = 80;
|
$default_port = 80;
|
||||||
if (rcube_https_check()) {
|
if (rcube_https_check()) {
|
||||||
$schema = 'https';
|
$schema = 'https';
|
||||||
$default_port = 143;
|
$default_port = 443;
|
||||||
}
|
}
|
||||||
$url = $schema . '://' . $_SERVER['HTTP_HOST'];
|
$url = $schema . '://' . $_SERVER['HTTP_HOST'];
|
||||||
if ($_SERVER['SERVER_PORT'] != $default_port)
|
if ($_SERVER['SERVER_PORT'] != $default_port)
|
||||||
|
|
Loading…
Add table
Reference in a new issue