X
Tryk her for at gå til webstedets mobilversion.

Supportforum

wrong mime-type in application settings tab

Skrevet

In the "Applications" settings, one of the mime-type is wrong : "application/x-zip" that contains quotes. Thoses quotes cause some file upload to fail (the file mime type in the File api is wrong `e.target.files[0].type` in a file upload field event has the value ""application/x-zip"").

Any idea where this is made ? by a plugin ? by the system ? etc. I'm in FF38 Linux.

In the "Applications" settings, one of the mime-type is wrong : "application/x-zip" that contains quotes. Thoses quotes cause some file upload to fail (the file mime type in the File api is wrong `e.target.files[0].type` in a file upload field event has the value ""application/x-zip""). Any idea where this is made ? by a plugin ? by the system ? etc. I'm in FF38 Linux.
Vedhæftede skærmbilleder

Yderligere systemdetaljer

Installerede plugins

  • Version: 5.41.0.0
  • Next Generation Java Plug-in 10.80.2 for Mozilla browsers
  • Shockwave Flash 11.2 r202
  • This plug-in detects the presence of iTunes when opening iTunes Store URLs in a web page with Firefox.

Program

  • Firefox 38.0
  • User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0
  • Support-URL: https://support.mozilla.org/1/firefox/38.0/Linux/en-US/

Udvidelser

  • Firebug 2.0.10 (firebug@software.joehewitt.com)
  • Ubuntu Firefox Modifications 3.0 (ubufox@ubuntu.com)
  • Ubuntu Online Accounts 0.5 (online-accounts@lists.launchpad.net)
  • Unity integration for Firefox 0.2.4.1-signed (unityfox@mozilla.org)
  • Web Developer 1.2.5.1-signed ({c45c406e-ab73-11d8-be73-000a95be3b12})
  • Adblock Plus 2.6.9.1-signed ({d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}) (Inactive)
  • Delicious Bookmarks 2.3.4 ({2fa4ed95-0317-4c6a-a74c-5f3e3912c1f9}) (Inactive)
  • Font Inspector 1.1-signed (fontinspector@paulrouget.com) (Inactive)
  • gtranslate 0.11.0.1-signed ({aff87fa2-a58e-4edd-b852-0a20203c1e17}) (Inactive)
  • JSONView 1.0.2 (jsonview@brh.numbera.com) (Inactive)
  • Markdown Viewer 1.8.1-signed (markdownviewer@thiht.fr) (Inactive)
  • Night Mode Page Dim 3.5.1-signed (ilaita.night-mode-page-dim@jetpack) (Inactive)
  • Octotree 1.6.2 (jid1-Om7eJGwA1U8Akg@jetpack) (Inactive)
  • Opquast Desktop 1.0-RC8 (opquast-desktop@temesis.com) (Inactive)
  • PDF Viewer 1.0.277.1-signed (uriloader@pdf.js) (Inactive)
  • QR Secret Decoder Ring 0.5.0.1-signed (jid0-P1mVozMDmRBfUBi7YQaBXqktLCM@jetpack) (Inactive)
  • QRCode Scanner(offline) 1.0.1-signed (qrscaner@laobubu.net) (Inactive)
  • Rainbow 1.6.1-signed (rainbow@colors.org) (Inactive)
  • Redmine Toolbar 0.8.3.1-signed (redminetoolbar@mpietsch.com) (Inactive)
  • RESTClient 2.0.3.1-signed ({ad0d925d-88f8-47f1-85ea-8463569e756e}) (Inactive)
  • Spell Checker 1.3.2.1-signed (gaurangnshah@gmail.com) (Inactive)
  • Theme Font & Size Changer 38.1.1-signed ({f69e22c7-bc50-414a-9269-0f5c344cd94c}) (Inactive)
  • User Agent Switcher 0.7.3.1-signed ({e968fc70-8f95-4ab9-9e79-304de2a71ee1}) (Inactive)
  • wallabag 1.2.1-signed (poche@gaulupeau.fr) (Inactive)

Javascript

  • incrementalGCEnabled: True

Grafik

  • adapterDescription: Intel Open Source Technology Center -- Mesa DRI Intel(R) Ivybridge Mobile
  • adapterDeviceID: Mesa DRI Intel(R) Ivybridge Mobile
  • adapterDrivers:
  • adapterRAM:
  • adapterVendorID: Intel Open Source Technology Center
  • driverDate:
  • driverVersion: 3.0 Mesa 10.5.2
  • info: {u'AzureCanvasBackend': u'cairo', u'AzureFallbackCanvasBackend': u'none', u'AzureContentBackend': u'cairo', u'AzureSkiaAccelerated': 0}
  • numAcceleratedWindows: 0
  • numAcceleratedWindowsMessage: [u'']
  • numTotalWindows: 2
  • webglRenderer: Intel Open Source Technology Center -- Mesa DRI Intel(R) Ivybridge Mobile
  • windowLayerManagerRemote: False
  • windowLayerManagerType: Basic

Ændrede indstillinger

Diverse

  • User JS: Nej
  • Tilgængelighed: Nej
Luk
guigs 1072 løsninger 11697 svar

Are you running the packaged Firefox for linux from Mozilla or another pre-packaged by a third party?

To answer your question, there is a list of default mime types. In the profile however there is mimeTypes.rdf where a file is labeled. Deleting this file to delete a bad entry is how to reset it. However if this is happening by default, the extra quotes may need to be removed manually (with code.)

However please do no hesitate to open a bugzilla bug as well at bugzilla.mozilla.org with an example.

"Note: You may get problems if you download a file that is labeled with the wrong Internet media type. There is no way to identify or delete a bad entry in the list. If this happens you may need to look at the file mimeTypes.rdf in your Firefox profile folder. Deleting the mimeTypes.rdf will reset all download actions to the default settings."

Are you running the packaged Firefox for linux from Mozilla or another pre-packaged by a third party? To answer your question, there is a list of default mime types. In the profile however there is mimeTypes.rdf where a file is labeled. Deleting this file to delete a bad entry is how to reset it. However if this is happening by default, the extra quotes may need to be removed manually (with code.) However please do no hesitate to open a bugzilla bug as well at bugzilla.mozilla.org with an example. "Note: You may get problems if you download a file that is labeled with the wrong Internet media type. There is no way to identify or delete a bad entry in the list. If this happens you may need to look at the file mimeTypes.rdf in your Firefox profile folder. Deleting the mimeTypes.rdf will reset all download actions to the default settings."