[Desktop-packages] [Bug 84880] Re: firefox uploads files with wrong mimetype
Upstream bug is a duplicate of #373621 Showing "RESOLVED FIXED" on 2016-07-29 Target release - Firefox 50 Closing this one by marking "Fix Released" ** Changed in: firefox (Ubuntu) Status: Confirmed => Fix Released -- 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: Fix Released 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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
Re: [Desktop-packages] [Bug 84880] Re: firefox uploads files with wrong mimetype
Ja same ženske želje, malo premisli...Ha ha On 14. 08. 2015 21:14, everflux wrote: This bug still affects firefox 40, I checked with the network tab, firefox is sending Content-Disposition: form-data; name=file_0; filename=.pdf Content-Type: application/empty -- 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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 84880] Re: firefox uploads files with wrong mimetype
This bug still affects firefox 40, I checked with the network tab, firefox is sending Content-Disposition: form-data; name=file_0; filename=.pdf Content-Type: application/empty -- 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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 84880] Re: firefox uploads files with wrong mimetype
I'm reopening the bug for firefox 16.0.1. I find it whenever trying to upload files to anagrafericerca.unibo.it. Unfortunately, this is a site with restricted access, so it cannot be used for debugging. However, when trying to upload a pdf file with firefox, the site responds IL TIPO DEL FILE NON PUO' ESSERE ACCETTATO (application/octetstream) I TIPI ACCETTABILI SONO: image/gif image/png image/x-png image/jpeg image/pjpeg image/pjpeg application/pdf text/html text/plain which, as you probably imagine, means that the site is refusing the upload, because I'm trying to upload a file with mimetype application/octetstream while the site expexts only the formats listed below. ** Changed in: firefox (Ubuntu) Status: Invalid = New -- 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 The Mozilla Firefox Browser: Invalid Status in “firefox” package in Ubuntu: New 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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 84880] Re: firefox uploads files with wrong mimetype
Then I will confirm this bug. ** Changed in: firefox (Ubuntu) Status: New = Confirmed -- 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 The Mozilla Firefox Browser: 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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 84880] Re: firefox uploads files with wrong mimetype
Obviously, I double checked with other browsers that it is not the destination site to get confused. Google chrome uploads files to anagrafericerca.unibo.it without any problem. -- 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 The Mozilla Firefox Browser: 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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 84880] Re: firefox uploads files with wrong mimetype
Hi, I am not anymore able to reproduce the issue. Yet, I cannot exactly say if this is because of firefox having been fixed or environmental conditions being changed... 1) Our dept repository has been completely renewed. The new one does not have the issue, but possibly it is now checking some magic in the files it receives to explicitly verify the file types. 2) E-papers does not have the issue anymore. But again I know it has been enhanced to workaround lots of browsers issues. At this point, I think that it is anyway relatively safe to close the bug. If I see the issue again in a reproducible context, I'll open a new one. -- 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 The Mozilla Firefox Browser: 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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 84880] Re: firefox uploads files with wrong mimetype
Thank you for your response! Please feel free to report any bug you encounter in Ubuntu! ** Changed in: firefox (Ubuntu) Status: Confirmed = Invalid -- 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 The Mozilla Firefox Browser: Invalid Status in “firefox” package in Ubuntu: Invalid 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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 84880] Re: firefox uploads files with wrong mimetype
Can you please test this with a supported Firefox version? Does this error still occour? Thank you for your help! -- 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 The Mozilla Firefox Browser: 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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 84880] Re: firefox uploads files with wrong mimetype
** Changed in: firefox Status: New = Invalid -- 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 The Mozilla Firefox Browser: 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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp