Mailing List Archive

[Bug 8329] New: - mime_magic gives 500 and no error_log on Microsoft .ANI cursor files
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8329>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8329

mime_magic gives 500 and no error_log on Microsoft .ANI cursor files

Summary: mime_magic gives 500 and no error_log on Microsoft .ANI
cursor files
Product: Apache httpd-1.3
Version: 1.3.24
Platform: PC
URL: http://msdn.microsoft.com/workshop/samples/author/dhtml/
refs/banana.ani
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: Other
Component: Other mods
AssignedTo: bugs@httpd.apache.org
ReportedBy: david-apachebug@infotrek.co.uk


When mod_mime_magic attempts to identify a Microsoft .ANI cursor file, it
causes a 500 Internal Server Error. The access_log shows 500 for that request
but nothing appears in the error_logs.

The command line 'file' utility successfully identifies the file as:
banana.ani: RIFF (little-endian) data, animated cursor

Disabling mod_mime_magic causes the file to be served just fine.

A file renamed to an .ANI extension will also be served just fine so long as
it isn't really an ANI format cursor.

This has been present since at least Apache 1.3.17

You can download an ANI-format cursor from the URL above.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org