← Back to team overview

desktop-packages team mailing list archive

[Bug 84880] Re: firefox uploads files with wrong mimetype

 

This bug is still affects firefox 39 and 40. So, I created a simple
upload page (http://npd.hol.es/upload.php) to make sure it's fixed or
not. This upload script will only allow to upload .rar (Winrar) / .srt
(Subtitle) files.

But I get 'Invalid file format' error for every file I upload, even for
supported formats.  Also, I tried to upload using ubuntu default web
browser, still get the same problem. Maybe this issue is in the ubuntu,
not in firefox.

-- 
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