Skip to content

Commit

Permalink
Only clear the port when forcing SSL.
Browse files Browse the repository at this point in the history
If using SSL_ONLY_LOGIN, any custom configured port should be taken
as the HTTP port since HTTPS is only used for login.

Bug: 13573
  • Loading branch information
mrubinsk committed Mar 10, 2015
1 parent cd03511 commit 644b73b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/Core/lib/Horde.php
Expand Up @@ -443,9 +443,9 @@ public static function url($uri, $full = false, $opts = array())
break;

case self::SSL_ONLY_LOGIN:
$server_port = '';
if (!empty($opts['force_ssl'])) {
$protocol = 'https';
$server_port = '';
}
break;
}
Expand Down

0 comments on commit 644b73b

Please sign in to comment.