From 6e47295f1ca71724a90ffe8a902937502efa44c8 Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Tue, 21 Nov 2017 02:42:44 -0500 Subject: [PATCH] Improve HTTPS support for side servers --- crossdomain.php | 1 + 1 file changed, 1 insertion(+) diff --git a/crossdomain.php b/crossdomain.php index 61b51d131..df5e04f0d 100644 --- a/crossdomain.php +++ b/crossdomain.php @@ -72,6 +72,7 @@ if ($config['host'] !== 'showdown') { } } } +if ($protocol === 'https:') $config['port'] = 443; if (@$config['redirect']) { ?>