From acb4505470110007da592e1252cfead442a5e72e Mon Sep 17 00:00:00 2001 From: sdecalom Date: Wed, 29 Jun 2022 20:28:24 +0200 Subject: [PATCH] Support for uploading xlsx files (#2266) --- app/code/core/Mage/Uploader/Helper/File.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/code/core/Mage/Uploader/Helper/File.php b/app/code/core/Mage/Uploader/Helper/File.php index 4373e1c007c..46853a782c9 100644 --- a/app/code/core/Mage/Uploader/Helper/File.php +++ b/app/code/core/Mage/Uploader/Helper/File.php @@ -616,6 +616,7 @@ class Mage_Uploader_Helper_File extends Mage_Core_Helper_Abstract 'xxlc' => 'application/vnd.ms-excel', 'xxlm' => 'application/vnd.ms-excel', 'xxls' => 'application/vnd.ms-excel', + 'xxlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'xxlt' => 'application/vnd.ms-excel', 'xxlw' => 'application/vnd.ms-excel', 'xxml' => 'application/xml',