Depending on the Wiki server I use (it works on my home pc but not on the main server I maintain) old office documents (i.e. .doc, .xls, .ppt) are uploaded with mime-type application/vnd.ms-office. Instead they should have the mime-type application/msword for .doc, application/vnd.ms-excel for .xls and application/vnd.ms-powerpoint for .ppt. Note that the new formats (.docx, .xlsx, .pptx) are set correctly.
The reason this is annoying (for me) is because I wanted to setup indexing of binary file content for searching. The search is based on the mime-type and with mime-type application/vnd.ms-office there is no easy way to assign it a binary-to-text-converter. If however the files had the correct mime-types I could assign the corresponding conversion program for each mime-type...
Again it would be nice if there was an option to fix mime-types based on their extension. If it works without that: fine! But I read at several places that Fileinfo extension is not really reliable. It would be nice if there was an option/program to make sure that all mime-types are set according to a Tiki-Wiki standard (independant of the web server used). It would also be nice if it could correct all existing files. Example:
I uploaded some files before the mime-type fix. They all have the type application/zip. After the mime-type fix the files upload with the correct mime-type but I still have the existing application/zip files that I now have to search and fix manually by reuploading...
All in all I think it would provide a nice tool for users that have issues with mime-types...
The URL for the show2.tiki.org instance that demonstrates this bug is at: http://jjermann-11519-4280.show2.tiki.org. Note that if you get a popup asking for a username/password, please just enter "show" and "show". This is different from the initial login and password for a new Tiki which is "admin" and "admin".
For the install log, see http://jjermann-11519-4280.show2.tiki.org/info.txt
Note that if you see PHP errors or a Tiki claiming to be missing third party software, the instance creation is probably not finished. Please wait a couple minutes and reload.
Snapshots are database dumps of the configuration that developers can download for debugging. Once you have reproduced your bug on the show2.tiki.org instance, create a snapshot that can then be downloaded by developers for further investigation.
Snapshots can be accessed at: http://jjermann-11519-4280.show2.tiki.org/snapshots/. Note that if you get a popup asking for a username/password, please just enter "show" and "show".
Create new snapshotfilename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |