From: Tim Düsterhus Date: Wed, 11 May 2022 13:26:44 +0000 (+0200) Subject: Update WoltLab update servers URLs to the `https` scheme in PackageUpdateServer X-Git-Tag: 6.0.0_Alpha_1~1309^2~11 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ede074eb6dfb21758cf8d96a2c88373a785e71f4;p=GitHub%2FWoltLab%2FWCF.git Update WoltLab update servers URLs to the `https` scheme in PackageUpdateServer --- 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; }