From: Tim Düsterhus Date: Mon, 9 Dec 2013 17:14:06 +0000 (+0100) Subject: Support http over ssl for package update servers X-Git-Tag: 2.0.0~8^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8c5bfa816271a7604c2a76c6e11ac2173e01d962;p=GitHub%2FWoltLab%2FWCF.git Support http over ssl for package update servers --- 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 88b5e8eddf..303b845c7d 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 @@ -52,7 +52,7 @@ class PackageUpdateServer extends DatabaseObject { if (trim($serverURL)) { if (!$parsedURL = @parse_url($serverURL)) return false; - if (!isset($parsedURL['scheme']) || $parsedURL['scheme'] != 'http') + if (!isset($parsedURL['scheme']) || ($parsedURL['scheme'] != 'http' && $parsedURL['scheme'] != 'https')) return false; if (!isset($parsedURL['host'])) return false;