[Bug 25830]

Gijskruitbosch+bugs 25830 at bugs.launchpad.net
Tue Nov 18 00:07:35 UTC 2025


Restricting comments because this bug has started attracting spam.

bug 196078 was fixed not too long ago and will display `text/*`
responses if no `Content-Disposition: attachment` header (or `<a
download="blah.someext">`) or similar is used. We should keep this bug
open as an enhancement for the cases where we show the "what do you want
to do with this file" option. It's possible that implementing this is
easier now that we have a similar option for PDF and a few other
filetypes, by extending the `handleInternally` code for this "arbitrary
text" case, though it may be tricky if, post-download, the OS reports a
different mimetype (that doesn't match `text/*`). I'd be interested in a
patch but unfortunately it's unlikely this would otherwise be resourced
in the near future.

-- 
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/25830

Title:
  Option to display file in browser, treat as text/plain

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/25830/+subscriptions




More information about the Ubuntu-mozillateam-bugs mailing list