Workaround incorrect CSV mime types

This commit is contained in:
M66B 2021-10-21 14:40:19 +02:00
parent 562e5acede
commit 6d83a23a8a
1 changed files with 3 additions and 0 deletions

View File

@ -167,6 +167,9 @@ public class EntityAttachment {
extension = extension.toLowerCase(Locale.ROOT);
// Fix types
if ("csv".equals(extension))
return "text/csv";
if ("dxf".equals(extension))
return "application/dxf";