Normalize data/type

This commit is contained in:
M66B
2019-11-16 14:17:59 +01:00
parent d19c0c9e6d
commit 79d230514a
4 changed files with 5 additions and 3 deletions

View File

@@ -154,6 +154,8 @@ public class EntityAttachment {
if (encryption != null)
return type;
// https://blogs.msdn.microsoft.com/vsofficedeveloper/2008/05/08/office-2007-file-format-mime-types-for-http-content-streaming-2/
String extension = Helper.getExtension(name);
if (extension == null)
return type;