Nextcloud: strict URL match

This commit is contained in:
Steffen Lange 2021-01-21 16:35:44 +01:00
parent 22646555c9
commit 9a0fb1e4e9

View file

@ -6,7 +6,7 @@ class NextcloudServer 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('_//download.nextcloud.com/server/releases/nextcloud-([\d\.]+)\.zip_'); return $this->parse('_//download\.nextcloud\.com/server/releases/nextcloud-([\d\.]+)\.zip_');
return false; return false;
} }
} }