diff --git a/entity/UniversalFileProcessor_entity/entityfields/drop_action/onActionProcess.js b/entity/UniversalFileProcessor_entity/entityfields/drop_action/onActionProcess.js index 24a993b063ed5e738eab0562cef3752192620e9a..b538d551ae7e04936883c49898ae489fad2f7ce3 100644 --- a/entity/UniversalFileProcessor_entity/entityfields/drop_action/onActionProcess.js +++ b/entity/UniversalFileProcessor_entity/entityfields/drop_action/onActionProcess.js @@ -27,6 +27,7 @@ for (var i = 0, l = files.length; i < l; i++) case "application/octet-stream"://in some cases .msg-files will not get any mimetype from the browser so let's use the default "anything" case "message/rfc822": case "text/html": //in some cases .eml-files are recognized as text/html, till this is fixed accept the text/html contents too + //todo: remove text/html workaround when #1056482 is fixed var mailObj = _getMailObj(files[i]); if (mailObj) { @@ -59,7 +60,7 @@ if (messages.length) function _getMailObj(pDroppedFile) { var mailStr; - if (pDroppedFile.mimeType == "message/rfc822" || pDroppedFile.mimeType == "text/html") + if (pDroppedFile.mimeType == "message/rfc822" || pDroppedFile.mimeType == "text/html")//todo: remove text/html workaround when #1056482 is fixed mailStr = util.decodeBase64String(pDroppedFile.data); else {