From 8c5bfa816271a7604c2a76c6e11ac2173e01d962 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Mon, 9 Dec 2013 18:14:06 +0100 Subject: [PATCH] Support http over ssl for package update servers --- .../data/package/update/server/PackageUpdateServer.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1