From 1c76fdf10b83acf338e7dbd21334690f2ab235cf Mon Sep 17 00:00:00 2001 From: trendschau Date: Sun, 6 Feb 2022 22:37:20 +0100 Subject: [PATCH] Version 1.5.3: Strip out params for asset urls --- system/Assets.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/system/Assets.php b/system/Assets.php index 59bfde1..7319107 100644 --- a/system/Assets.php +++ b/system/Assets.php @@ -285,7 +285,8 @@ class Assets */ public function getFileUrl($path) { - $internalFile = __DIR__ . '/../plugins' . $path; + # check system path of file without parameter for fingerprinting + $internalFile = __DIR__ . '/../plugins' . strtok($path, "?"); if(file_exists($internalFile)) {