From 95f82190bf4508acd8de8e692138b8c32873521e Mon Sep 17 00:00:00 2001 From: mkuba50 Date: Thu, 3 May 2018 20:42:27 +0200 Subject: [PATCH] Quick fix for new Cabs_ files --- get.php | 2 +- shared/main.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/get.php b/get.php index 965b669..7bbbd24 100644 --- a/get.php +++ b/get.php @@ -241,7 +241,7 @@ function uupGetFiles($updateId = 'c2a1d787-647b-486d-b264-f90f3782cdc6', $usePac $temp['uuid'] = $guid; $temp['expire'] = $expire; - $newName = preg_replace('/~31bf3856ad364e35/', '', $name); + $newName = preg_replace('/cabs_|~31bf3856ad364e35/i', '', $name); $newName = preg_replace('/~~\.|~\./', '.', $newName); $newName = preg_replace('/~/', '-', $newName); diff --git a/shared/main.php b/shared/main.php index 57a2640..1b0fcfc 100644 --- a/shared/main.php +++ b/shared/main.php @@ -16,7 +16,7 @@ limitations under the License. */ function uupApiVersion() { - return '1.14.1'; + return '1.14.2'; } function uupApiPrintBrand() {