Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Learn More

Input Type from a CSV File is Recognized as Ms excel file

  • 3 respostas
  • 5 têm este problema
  • 1 visualização
  • Última resposta por Grizzly

more options

In the current Version of Firefox the input field is set to the wrong filetype if select an csv file.

Open with Chrome and Firefox. Chrome set the file type to text/csv Firefox to "application/vnd.ms-excel"

Working example open the consoel to see the output: https://codepen.io/GrizzlyStu/pen/YzjZjez

In the current Version of Firefox the input field is set to the wrong filetype if select an csv file. Open with Chrome and Firefox. Chrome set the file type to text/csv Firefox to "application/vnd.ms-excel" Working example open the consoel to see the output: https://codepen.io/GrizzlyStu/pen/YzjZjez

Solução escolhida

You can inspect the MIME database key with the registry editor (regedit.exe) and do a search for that MIME type (file extension) via Ctrl+F. Be cautious with editing the registry as there is NO UNDO possible: all changes are applied immediately. You can export key(s) in the registry editor before making changes. You can check specific file extension keys (e.g. .jpg) in the registry with the registry editor.

  • HKEY_CLASSES_ROOT\.xxx

You can check possibly linked MIME types in the MIME Database registry key.

  • HKEY_CLASSES_ROOT\MIME\Database\Content Type\
Ler esta resposta no contexto 👍 1

Todas as respostas (3)

more options

This Issue is only on Windows PCs. On Linux the file type is set correctly to "text/csv"

more options

Solução escolhida

You can inspect the MIME database key with the registry editor (regedit.exe) and do a search for that MIME type (file extension) via Ctrl+F. Be cautious with editing the registry as there is NO UNDO possible: all changes are applied immediately. You can export key(s) in the registry editor before making changes. You can check specific file extension keys (e.g. .jpg) in the registry with the registry editor.

  • HKEY_CLASSES_ROOT\.xxx

You can check possibly linked MIME types in the MIME Database registry key.

  • HKEY_CLASSES_ROOT\MIME\Database\Content Type\
more options

Ok thanks for that info. Could it also happen in Mac or Linux Version of Firefox?

Good to know that firefox uses the content type definitin by windows.