From c0acf60bb1e016a2c942aa932b8a1c4150e9ad9b Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Mon, 27 Jan 2020 17:46:47 +0100 Subject: [PATCH] Removed http prefixes --- modules/MozillaThunderbird.php | 2 +- modules/Nextcloud.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/MozillaThunderbird.php b/modules/MozillaThunderbird.php index cba0a12..0b40080 100644 --- a/modules/MozillaThunderbird.php +++ b/modules/MozillaThunderbird.php @@ -6,7 +6,7 @@ class MozillaThunderbird extends PatchBase { } function check() : bool { if ($this->fetch('https://www.thunderbird.net/de/thunderbird/all/')) - return $this->parse('_"https://download\.mozilla\.org/\?product=thunderbird-([\d\.]+)(-SSL)?&(amp;)?os=win&(amp;)?lang=en-US"_'); + return $this->parse('_//download\.mozilla\.org/\?product=thunderbird-([\d\.]+)(-SSL)?&(amp;)?os=win&(amp;)?lang=en-US_'); return false; } } diff --git a/modules/Nextcloud.php b/modules/Nextcloud.php index 0c97b91..f5127ab 100644 --- a/modules/Nextcloud.php +++ b/modules/Nextcloud.php @@ -6,7 +6,7 @@ class Nextcloud extends PatchBase { } function check() : bool { if ($this->fetch('https://nextcloud.com/install/')) - return $this->parse('_https://download.nextcloud.com/server/releases/nextcloud-([\d\.]+)\.zip_'); + return $this->parse('_//download.nextcloud.com/server/releases/nextcloud-([\d\.]+)\.zip_'); return false; } }