Removed http prefixes

This commit is contained in:
Steffen Lange 2020-01-27 17:46:47 +01:00
parent 858fa5d80f
commit c0acf60bb1
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ class MozillaThunderbird extends PatchBase {
} }
function check() : bool { function check() : bool {
if ($this->fetch('https://www.thunderbird.net/de/thunderbird/all/')) 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; return false;
} }
} }

View file

@ -6,7 +6,7 @@ class Nextcloud extends PatchBase {
} }
function check() : bool { function check() : bool {
if ($this->fetch('https://nextcloud.com/install/')) 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; return false;
} }
} }