From ce92c44b489e21f9fa23d1769249a01da127a841 Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Fri, 29 Jan 2021 13:07:58 +0100 Subject: [PATCH] UltraVNC: fix regex again --- modules/UltraVNC.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/UltraVNC.php b/modules/UltraVNC.php index 06f8d26..2fc4e6a 100644 --- a/modules/UltraVNC.php +++ b/modules/UltraVNC.php @@ -5,8 +5,10 @@ class UltraVNC extends PatchBase { parent::__construct('UltraVNC Team', 'UltraVNC', 'https://www.uvnc.com/downloads/ultravnc.html'); } function check() : bool { - if ($this->fetch('https://www.uvnc.com/downloads/ultravnc.html')) - return $this->parse('/[Dd]ownload [Uu]ltra[Vv][Nn][Cc] ([\d\.]+)/'); + if ($this->fetch('https://www.uvnc.com/downloads/ultravnc.html')) { + $this->data = utf8_decode($this->data); + return $this->parse('/[Ll]atest.[Vv]ersion.+[Rr]elease.([\d\.]+)/'); + } return false; } }