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

Michael JasonSmith mpj17 at onlinegroups.net
Tue Feb 23 07:32:14 UTC 2010


[Ubuntu 9.10, Firefox 3.5.8]

When I posted PDF files using Firefox the MIME-type was being set to
text/html. However, I noticed in
~/.mozilla/firefox/xxx.default/mimeTypes.rdf the following entry

  <RDF:Description RDF:about="urn:mimetype:text/html"
                   NC:value="text/html"
                   NC:editable="true"
                   NC:description="">
    <NC:fileExtensions>pdf</NC:fileExtensions>
    <NC:fileExtensions>html</NC:fileExtensions>
    <NC:fileExtensions>htm</NC:fileExtensions>
    <NC:fileExtensions>shtml</NC:fileExtensions>
    <NC:handlerProp RDF:resource="urn:mimetype:handler:text/html"/>
  </RDF:Description>

After  removing the line "<NC:fileExtensions>pdf</NC:fileExtensions>"
and restarting Firefox I posted two PDF files, and the MIME-type was
correctly set on both.

-- 
firefox uploads files with wrong mimetype
https://bugs.launchpad.net/bugs/84880
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox-3.0 in ubuntu.




More information about the Ubuntu-mozillateam-bugs mailing list