diff --git a/app/utils/lib/fileUploadRestrictions.js b/app/utils/lib/fileUploadRestrictions.js index 4e62e7eed193..bc1c7b5fa05e 100644 --- a/app/utils/lib/fileUploadRestrictions.js +++ b/app/utils/lib/fileUploadRestrictions.js @@ -45,7 +45,7 @@ export const fileUploadIsValidContentType = function(type, customWhiteList) { const blackList = fileUploadMediaBlackList(); const whiteList = fileUploadMediaWhiteList(customWhiteList); - if (!type) { + if (!type && blackList) { return false; }