Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

wrong mime-type in application settings tab

  • 1 відповідь
  • 1 має цю проблему
  • 1 перегляд
  • Остання відповідь від guigs

more options

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.
Прикріплені знімки екрана

Усі відповіді (1)

more options

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."