Skip Menu |
 

This queue is for tickets about the File-MMagic CPAN distribution.

Report information
The Basics
Id: 13897
Status: new
Priority: 0/
Queue: File-MMagic

People
Owner: Nobody in particular
Requestors: dan.horne [...] redbone.co.nz
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.22
Fixed in: (no value)

Attachments


Subject: MS Excel files incorrectly identified as application/msword
Download (untitled) / with headers
text/plain 287b
The Excel files are being identified as MS Word files with File-MMagic-1.22. The attached test file generated with MS Excel 2002. My test script: #!/usr/local/bin/perl use File::MMagic; my $file = 'mmagic_test.xls'; my $mm = new File::MMagic; print $mm->checktype_filename($file)."\n";
Download mmagic_test.xls
application/vnd.ms-excel 13.5k

Message body not shown because it is not plain text.



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.