Force CSV mime type

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

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

Loading…
Cancel
Save