www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Fosdick <fosdi...@aom.bt.co.uk>
Subject other/2608: mod_magic returns mime type application/msword for non-MS Word documents
Date Tue, 14 Jul 1998 16:15:40 GMT

>Number:         2608
>Category:       other
>Synopsis:       mod_magic returns mime type application/msword for non-MS Word documents
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Jul 14 09:20:00 PDT 1998
>Last-Modified:
>Originator:     fosdicsj@aom.bt.co.uk
>Organization:
apache
>Release:        1.3.0
>Environment:
HP-UX B.10.20
gcc version 2.8.1
>Description:
The mod_magic modules caused the application/msword mime type to be returned
for other Microsoft Office documents which aren't microsoft word.  This seems
to be caused by the Microsoft Office documents using a common document format (OLE?)

I have checked the three recognition strings in the supplied magic file against
a variety of Microsoft Office document and here are the results:

0	string	\376\067\0\043

	Word for Macintosh 5.0
	Word for Macintosh 5.1

0	string	\320\317\021\340\241\261

	Powerpoint version 4.0
	Powerpoint version 7 (Office 95)
	Powerpoint 97 (Office 97)
	Word for Windows version 7 (Office 95)
	Word for Windows 97 (Office 97)
	Excel version 7 (Office 95)
	Excel 97 (Office 97)

0	string	\333\245-\0\0\0

	Word for Windows version 2.x
>How-To-Repeat:
Serve documents of the above versions and check the mime type reported by the
client/browser.
>Fix:
Comment out or remove line two of the three application/msword lines in the
magic file until a way can be found to distinguish these documents from each
other.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]




Mime
View raw message