Added video/jpeg workaround

This commit is contained in:
M66B
2020-06-28 08:41:29 +02:00
parent 06359174c5
commit ff5c257c23

View File

@@ -203,6 +203,10 @@ public class EntityAttachment {
if ("text/plain".equals(type) && "ovpn".equals(extension))
return "application/x-openvpn-profile";
// https://www.rfc-editor.org/rfc/rfc3555.txt
if ("video/jpeg".equals(type))
return "image/jpeg";
if ("application/x-pdf".equals(type))
return "application/pdf";