aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller/JsController.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Controller/JsController.php')
-rw-r--r--core/Controller/JsController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Controller/JsController.php b/core/Controller/JsController.php
index 0b50abc158a..c7c9dea9101 100644
--- a/core/Controller/JsController.php
+++ b/core/Controller/JsController.php
@@ -96,7 +96,7 @@ class JsController extends Controller {
if ($encoding !== null && strpos($encoding, 'gzip') !== false) {
try {
$gzip = true;
- return $folder->getFile($fileName . '.gz');
+ return $folder->getFile($fileName . '.gzip'); # Safari doesn't like .gz
} catch (NotFoundException $e) {
// continue
}