Mishandled .mht files
mbukaty - November 20, 2007 - 17:15
| Project: | Fileshare |
| Version: | 5.x-1.0 |
| Component: | File management |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
If you direct link to a .mht file that was placed in the fileshare folder such as http://yoursite.com/files/filesharename/myfile.mht everythin works fine and IE or Firefox can interpret it fine. When it is handled through the Fileshare module such as http://yoursite.com/?q=fileshare/files/40/myfile.mht it fails to display and just shows the text of the file instead of the rendered file.

#1
I should add that this occurs if the mod rewrite is on as well so the ?q does not exist. It is any time you have drupal handle the files.
#2
now if I take the link it creates... http://yoursite.com/fileshare/files/40/myfile.mht and put mhtml:http://yoursite.com/fileshare/files/40/myfile.mht it works.
where do I edit where it creates the links and I can fix it myself.
#3
Hi,
i am having tha same problem, but it is not recurring all the times. (my rewrite module is enabled) when i open the link of mht file, some times it gives the garbage, and on refreshing it comes fine.
please suggest