From 19a82114a2460ab6fc6ca50b99e1de85913b38ba Mon Sep 17 00:00:00 2001 From: Buster Neece Date: Thu, 15 Dec 2022 16:55:59 -0600 Subject: [PATCH] Fixes #5926 -- Remove scheme from Shoutcast directory listing. --- src/Radio/Frontend/Shoutcast.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Radio/Frontend/Shoutcast.php b/src/Radio/Frontend/Shoutcast.php index ac1ca953f..d2a96543f 100644 --- a/src/Radio/Frontend/Shoutcast.php +++ b/src/Radio/Frontend/Shoutcast.php @@ -119,8 +119,7 @@ final class Shoutcast extends AbstractFrontend [$certPath, $certKey] = Acme::getCertificatePaths(); - $publicUrl = $this->getPublicUrl($station); - $urlHost = $publicUrl->getScheme() . '://' . $publicUrl->getHost(); + $urlHost = $this->getPublicUrl($station)->getHost(); $config = [ 'password' => $frontendConfig->getSourcePassword(),