From 1eec59158511b47a6e3276b92c99b91bde99b83e Mon Sep 17 00:00:00 2001 From: ljcool2006 <51834343+ljcool2006@users.noreply.github.com> Date: Fri, 15 Dec 2023 04:43:14 -0500 Subject: [PATCH] Remove .swf from video/quicktime Fixes the issue of .swf file downloads appearing with the file extension of .mov --- tinyfilemanager.php | 1 - 1 file changed, 1 deletion(-) diff --git a/tinyfilemanager.php b/tinyfilemanager.php index ca73f9d..8003732 100644 --- a/tinyfilemanager.php +++ b/tinyfilemanager.php @@ -3119,7 +3119,6 @@ function fm_get_file_mimes($extension) $fileTypes['mpg'] = 'video/mpeg'; $fileTypes['mpe'] = 'video/mpeg'; $fileTypes['mov'] = 'video/quicktime'; - $fileTypes['swf'] = 'video/quicktime'; $fileTypes['3gp'] = 'video/quicktime'; $fileTypes['m4a'] = 'video/quicktime'; $fileTypes['aac'] = 'video/quicktime';