mirror of https://github.com/M66B/FairEmail.git
Workaround incorrect CSV mime types
This commit is contained in:
parent
562e5acede
commit
6d83a23a8a
|
@ -167,6 +167,9 @@ public class EntityAttachment {
|
||||||
extension = extension.toLowerCase(Locale.ROOT);
|
extension = extension.toLowerCase(Locale.ROOT);
|
||||||
|
|
||||||
// Fix types
|
// Fix types
|
||||||
|
if ("csv".equals(extension))
|
||||||
|
return "text/csv";
|
||||||
|
|
||||||
if ("dxf".equals(extension))
|
if ("dxf".equals(extension))
|
||||||
return "application/dxf";
|
return "application/dxf";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue