[Bug 84880] Re: firefox uploads files with wrong mimetype
walter at nic.gen.nz
Tue Jul 29 09:39:36 UTC 2008
I have a possible solution - look at mimeTypes.rdf (see below)
I can confirm this problem, and while trying to find a fix, I came
across this bug. There are also numerous logged on bugzilla.mozilla.org.
For the record: On Kubuntu Hardy, running under KDE3, Firefox version
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:220.127.116.11) Gecko/2008071717
Firefox/3.0.1. Plenty of extensions none of which I think are relevant.
Uploading PDF attachments to PHPList (phplist.com), they come through as
application/binary. Konqueror does it fine. This is a serious problem,
because phplist does not provide a way to change the mime type of an
attachment (except a direct database edit, ouch). I can't just use
Konqueror because that doesn't support FCKEditor for rich text editing.
"file" command reports PDF document, version 1.3, /etc/mime.types and
all that look ok.
HOWEVER I had ported my firefox profile across from a Windows machine, I
don't know what happened to that there, but in my profile directory,
mimeTypes.rdf contained this gem:
NC:description="Adobe Acrobat 7.0 Document">
I've edited this to instead say:
NC:description="Adobe Acrobat Document">
Now file upload works.
firefox uploads files with wrong mimetype
You received this bug notification because you are a member of Mozilla
Bugs, which is a bug assignee.
More information about the Ubuntu-mozillateam-bugs