[imp] MIME identification incorrect for xlhtml, zip

Warwick Bruce Chapman warwick at thusa.co.za
Thu May 15 03:38:43 PDT 2003


Howdy

Horde Versions
Horde: 2.2.3 
IMP: 3.2.1 (run IMP tests) 
Turba: 1.2 
Mnemo: 1.1 
Nag: 1.0 

PHP Version
View phpinfo() screen 
PHP Version: 4.2.3 
PHP Major Version: 4.2 
PHP Minor Version: 3 
PHP Version Classification: release 
You are running a supported version of PHP

Problem:

I have enabled viewers (inline=true) for zip, xlhtml, wvHtml, ppthtml, tar, rpm 
and image.

wvHtml works very well, but I have a problem with xlhtml viewing in that the 
Part(s) line in the e-mail looks as follows:
Part(s):   3 2003 Mark Book.xls application/octet-stream 28.10 KB  

Instead of:
Part(s):   3 2003 Mark Book.xls application/vnd.ms-excel 28.10 KB  

.ppt files show as:
Part(s):   3 Presentation1.ppt unknown/octet-stream 10.97 KB  
  
This results in the viewer attempting to download view.php instead of 
displaying the html.


ZIP file show up as the correct mime type:
Part(s):   2 S4K8W2CS.ZIP application/x-zip-compressed 166.41 KB  

When the URL is click, though, the following error occurs:
http://www.thusa.co.za/~budgee/zip-view-error.png

Regards
Warwick Chapman
Managing Member
Thusa Business Support cc
Cell: +27 83 7797094
Fax: +27 31 2055838

-- There are 10 types of people in this world. Those
who understand binary, and those who don't.





-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/


More information about the imp mailing list