From 5afb1ee04f3bcd0ae5b04b042eeb9bce80b92ce5 Mon Sep 17 00:00:00 2001 From: alekseyp Date: Sun, 25 Aug 2019 21:52:14 -0400 Subject: [PATCH] Include file extension in combiner URLs (#4567) Credit to @alekseyp. --- modules/system/classes/CombineAssets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system/classes/CombineAssets.php b/modules/system/classes/CombineAssets.php index 3e593a075..79644123e 100644 --- a/modules/system/classes/CombineAssets.php +++ b/modules/system/classes/CombineAssets.php @@ -400,7 +400,7 @@ class CombineAssets $this->putCache($cacheKey, $cacheInfo); } - return $this->getCombinedUrl($cacheInfo['version']); + return $this->getCombinedUrl($cacheInfo['version'] . '.' . $extension); } /**