We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60e840c commit d1b4e3dCopy full SHA for d1b4e3d
app/code/Magento/Backend/view/adminhtml/web/js/media-uploader.js
@@ -75,7 +75,7 @@ define([
75
byteConvert(currentFile.size);
76
77
// check if file is allowed to upload and resize
78
- allowedResize = $.inArray(currentFile.extension, allowedExt) !== -1;
+ allowedResize = $.inArray(currentFile.extension?.toLowerCase(), allowedExt) !== -1;
79
80
if (!allowedResize) {
81
fileUploader.aggregateError(currentFile.name,
0 commit comments