Force CSV mime type

pull/178/head
M66B 5 years ago
parent 1fbdba8b0e
commit 300f402a90

@ -188,12 +188,15 @@ public class EntityAttachment {
type = gtype;
}
if ("gpx".equals(extension))
return "application/gpx+xml";
if ("csv".equals(extension))
return "text/csv";
if ("eml".equals(extension))
return "message/rfc822";
if ("gpx".equals(extension))
return "application/gpx+xml";
if ("text/plain".equals(type) && "ics".equals(extension))
return "text/calendar";

Loading…
Cancel
Save