Firefox keeps asking if I want to open file with a certain program

firefox

Firefox keeps asking me if I still want to open a file type with a certain program, even though the checkbox that says Do this automatically for files like this from now on is checked. This window always pops up for this type of file. This has been an issue for me for several years and with different versions of Firefox.

I'm talking about a dialog window like this, but with different file type and options:

enter image description here

Checked or unckecked, the checkbox does nothing and this window always appears.

In the Applications tab, the file type is set to open with a specific application, and the window still appears.

How do I stop this madness?

Best Answer

That behavior is usually because the file is served with a ContentDisposition: attachment response header. This is a long-standing bug in Firefox, due to an obstinate misinterpretation/misapplication of certain standards by Firefox developers. You will never stop the madness until that changes, and Mozilla fixes the bug. See for instance: https://bugzilla.mozilla.org/show_bug.cgi?id=453455.

Related Question