From 6e26ece3de2f26cd0af15bfc39dc9a10f33e1396 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 10 Mar 2020 06:22:30 +0000 Subject: [PATCH] Issue 8383 (again): Finally fixes the double scheme problem --- src/Network/Probe.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Network/Probe.php b/src/Network/Probe.php index 6c64f790ec..b5991934b4 100644 --- a/src/Network/Probe.php +++ b/src/Network/Probe.php @@ -161,7 +161,11 @@ class Probe if ($curlResult->isSuccess()) { $xml = $curlResult->getBody(); $xrd = XML::parseString($xml, false); - $host_url = 'https://'.$host; + if (!empty($url)) { + $host_url = 'https://' . $host; + } else { + $host_url = $host; + } } elseif ($curlResult->isTimeout()) { Logger::info('Probing timeout', ['url' => $ssl_url], Logger::DEBUG); self::$istimeout = true; -- 2.39.5