From ede074eb6dfb21758cf8d96a2c88373a785e71f4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Wed, 11 May 2022 15:26:44 +0200 Subject: [PATCH] Update WoltLab update servers URLs to the `https` scheme in PackageUpdateServer --- .../package/update/server/PackageUpdateServer.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wcfsetup/install/files/lib/data/package/update/server/PackageUpdateServer.class.php b/wcfsetup/install/files/lib/data/package/update/server/PackageUpdateServer.class.php index ab0cd7c8ab..acf5cb21f7 100644 --- a/wcfsetup/install/files/lib/data/package/update/server/PackageUpdateServer.class.php +++ b/wcfsetup/install/files/lib/data/package/update/server/PackageUpdateServer.class.php @@ -65,10 +65,10 @@ class PackageUpdateServer extends DatabaseObject } if ($this->isWoltLabUpdateServer()) { - $this->data['serverURL'] = "http://update.woltlab.com/{$prefix}{$officialPath}/"; + $this->data['serverURL'] = "https://update.woltlab.com/{$prefix}{$officialPath}/"; } if ($this->isWoltLabStoreServer()) { - $this->data['serverURL'] = "http://store.woltlab.com/{$prefix}{$officialPath}/"; + $this->data['serverURL'] = "https://store.woltlab.com/{$prefix}{$officialPath}/"; } if ($this->isWoltLabUpdateServer() || $this->isWoltLabStoreServer()) { $this->data['isDisabled'] = 0; @@ -112,13 +112,13 @@ class PackageUpdateServer extends DatabaseObject if (!$woltlabUpdateServer) { $packageServer = PackageUpdateServerEditor::create([ - 'serverURL' => "http://update.woltlab.com/{$officialPath}/", + 'serverURL' => "https://update.woltlab.com/{$officialPath}/", ]); $results[$packageServer->packageUpdateServerID] = $packageServer; } if (!$woltlabStoreServer) { $packageServer = PackageUpdateServerEditor::create([ - 'serverURL' => "http://store.woltlab.com/{$officialPath}/", + 'serverURL' => "https://store.woltlab.com/{$officialPath}/", ]); $results[$packageServer->packageUpdateServerID] = $packageServer; } -- 2.20.1