desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #133825
[Bug 84880] Re: firefox uploads files with wrong mimetype
I found a fix for the issue.
While I am not sure what is causing it (firefox or ubuntu) the problem is in the "mimeTypes.rdf". delete the file while firefox is not running and the problem is gone.
Whenever firefox downloads a file with a wrong mimetype it will record
the broken mimetime along the file extension in that file and use that
again when uploading files.
This is contagious, once a download is done with a bad type it is
persisted and will be used for an upload, if the remote site keeps the
mimetype from the upload and uses that when sending the file to the next
user with firefox it will record it in that users mimetypes....
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/84880
Title:
firefox uploads files with wrong mimetype
Status in Mozilla Firefox:
Invalid
Status in firefox package in Ubuntu:
Confirmed
Bug description:
Binary package hint: firefox
Using firefox 2.0.0.1 on Ubuntu edgy.
If I upload a PDF file to some site using firefox, the receiver gets
the file and an associated mimetype of application/binary rather than
the correct application/pdf
(btw, note that konqueror uploads the pdf file with the correct
mimetype).
I do not know if the above is a problem with edgy firefox or with
upstream firefox, but I suspect the first.
The bug seems minor, but is in fact critical to those needing to
upload conference papers or journal articles to publishers' web sites.
In fact, the latter often refuse the file if the file does not appear
to be PDF.
To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/84880/+subscriptions