We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox reports wrong pdf mime type

  • 3 replies
  • 3 have this problem
  • 1 view
  • Last reply by cor-el

more options

Trying to upload pdf files from Firefox, pdf files get rejected as wrong file type, works in all other browsers. ? Thanks for your help.

Trying to upload pdf files from Firefox, pdf files get rejected as wrong file type, works in all other browsers. ? Thanks for your help.

Chosen solution

Try to delete the mimeTypes.rdf file in the Firefox Profile Folder to reset all file actions.

You can also check some keys in the registry with the registry editor.

  • HKEY_CLASSES_ROOT\.pdf

You can check the linked MIME type in the MIME Database key.

  • HKEY_CLASSES_ROOT\MIME\Database\Content Type
Read this answer in context 👍 1

All Replies (3)

more options

Chosen Solution

Try to delete the mimeTypes.rdf file in the Firefox Profile Folder to reset all file actions.

You can also check some keys in the registry with the registry editor.

  • HKEY_CLASSES_ROOT\.pdf

You can check the linked MIME type in the MIME Database key.

  • HKEY_CLASSES_ROOT\MIME\Database\Content Type

Modified by cor-el

more options

THANKS, cor-el!

I just moments ago actually found a link form Googling (http://support.mozilla.org/en-US/kb/cant-download-or-save-files?redirectlocale=en-US&redirectslug=Unable+to+download+or+save+files#w_change-file-type-settings) that showed me where to find that mimeTypes.rdf file you referenced above. The fix suggested was to rename the old rdf file and restart Firefox, which was essentially your first suggestion to reset all file actions, and it worked. Thanks for your help!

more options

You're welcome