Ticket #541 (closed defect: fixed)
Mime type mess with files downloaded with Browse
|Reported by:||sayamindu||Owned by:||erikos|
|Priority:||Unspecified by Maintainer||Milestone:|
Files which are normally zip files (eg: Open Document files, Epub files, etc) seem to have the extension set to application/x-zip in the datastore. Steps to reproduce
1. Open Browse and navigate to http://feedbooks.com/book/102
2. Download the epub file linked from that page
3. Try to open the file from the journal (you can have a mock activity which has the mimetype for application/epub+zip registered)
4. View the log for Journal: it contains a line which says:
WARNING root: No activity can open this object, application/x-zip.
This normally occurs when the extension of the file is truncated, which means that there is no way to distinguish the file from a normal zip file.
I have seen this occur on Sucrose 0.82, on XO OS build 767