Nextcloud: strict URL match
This commit is contained in:
parent
22646555c9
commit
9a0fb1e4e9
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue