-
Suggestion
-
Resolution: Fixed
-
None
For many cases the mime-types of attachments that are uploaded are set to "application/octet-stream".
In most cases - this is not the case, and attachments should be served with the correct mime-types.
The activation framework seems to deal with this fairly nicely:
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/activation/MimetypesFileTypeMap.html
Also a list of mime-types:
http://www.utoronto.ca/ian/books/html4ed/appb/mimetype.html
We could automatically set the mime-type for uploads we know about.
- incorporates
-
JRASERVER-3505 Attached Lotus Notes link files (.ndl) do not get the proper mime type
- Closed
- is duplicated by
-
JRASERVER-1416 Can't download attachment
- Closed
-
JRASERVER-1543 Can't view XML attachment
- Closed
-
JRASERVER-1544 Can't view/download DTD file
- Closed
- is related to
-
JRASERVER-2299 Attachments need associated descriptions
- Closed
-
JRASERVER-2625 Improve icons for attachments
- Closed