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!

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

HTML files' extension changed during download

  • 1 réponse
  • 0 a ce problème
  • 1 vue
  • Dernière réponse par cor-el

more options

I'm using Firefox 126.0.1 (64-bit) in Windows 11. I needed to download two files named index.html (in different source directories) from my company's content management system. Both got downloaded as index.htm. They were the right files... only the extension was changed.

I spoke to the person who maintains the content management system. They tested it and said it's not doing that, must be the browser.

That sounds fantastic to me, but I looked through the support messages here and found several about files whose extensions were changed on download; for example from .loa to .mp3. No explanations or workarounds, though.

Can anyone shed light on this?

I'm using Firefox 126.0.1 (64-bit) in Windows 11. I needed to download two files named index.html (in different source directories) from my company's content management system. Both got downloaded as index.htm. They were the right files... only the extension was changed. I spoke to the person who maintains the content management system. They tested it and said it's not doing that, must be the browser. That sounds fantastic to me, but I looked through the support messages here and found several about files whose extensions were changed on download; for example from .loa to .mp3. No explanations or workarounds, though. Can anyone shed light on this?

Toutes les réponses (1)

more options

You can check handlers.json in the Firefox profile folder to se if there is a reference to the .html file extension.

You can check specific file extension keys (e.g. .html) 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\

Cela vous a-t-il été utile ?

Poser une question

Vous devez vous identifier avec votre compte pour répondre aux messages. Veuillez poser une nouvelle question, si vous n’avez pas encore de compte.