Comment 3 for bug 84880

Revision history for this message
Rafa (rafae1-ramirez) wrote :

I confirm the issue of wrong MIME type being sent by firefox.

I'm currently setting up an intranet server for a research group. I have installed a
PDF manager (Librarian) and am currently trying to populate the database. Upon
the upload of the PDF files, I was getting an error message for incorrect MIME type
of the files. I hacked the php code to find out what the sent MIME type was, and got:
application/binary instead of the expected application/pdf.

This results in the file not being recognized by the program as a PDF, thus failure
to upload on the site.

At first I thought it was a problem with my php.ini configuration, and tweaked all
I could find on the matter without results. Then I came across this bug description
and actually confirmed that it is likely to be a firefox issue, and not an
apache2/php/pdf or whatnot.

The PDF files upload without the shadow of a problem using konqueror.

My server configuration is:
Ubuntu 7.04 Feisty Fawn i386
Apache2
PHP5

Librarian PDF manager (http://bioinformatics.org/librarian/)

My client:
Ubuntu 7.04 Feisty Fawn i386

The web browser:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20061201
Firefox/2.0.0.3 (Ubuntu-feisty)

All PDF files tested came up with the wrong MIME using firefox, none have yet
given me problems using konqueror.

For many required to submit their work by uploading PDF files on servers that
use MIME type control, this issue might be more than an annoyance.