Comment Re:Great... (Score 1) 172
Nope, it's Firefox. Plaintext files often don't have a mime type so present as unknown.
Here's the nearly 15 year old bug: https://bugzilla.mozilla.org/s...
You appear to be confused. That (wishlist) bug is not that Firefox can't or won't show plain text files (it certainly will, ftp, http, or local) - it's Add "View as Text/HTML/..." option for unknown mime content-type. As a typical
The reason that hasn't been "fixed", and may never be fixed is because it's blocked by two other bugs (1 and 2). The main problem being that servers are unreliable when it comes to describing the mimetype.(in reference to your second sentence).
More importantly, as I've already pointed out - Firefox/Iceweasel does display plain text files
Rather than dismissing that fact, maybe you should have taken the time to read the link I posted on how to solve your "issue" (which works fine when the server provides the correct mimetype).
The relevant sections from the default mimeTypes.rdf (~/.mozilla/firefox/$gibberish.default/mimeTypes.rdf)
<RDF:Seq RDF:about="urn:mimetypes:root">
<RDF:li RDF:resource="urn:mimetype:application/pdf"/>
<RDF:li RDF:resource="urn:mimetype:application/postscript"/>
<RDF:li RDF:resource="urn:mimetype:application/x-bittorrent"/>
<RDF:li RDF:resource="urn:mimetype:application/zip"/>
<RDF:li RDF:resource="urn:mimetype:application/vnd.google-earth.kmz"/>
<RDF:li RDF:resource="urn:mimetype:binary/octet-stream"/>
<RDF:li RDF:resource="urn:mimetype:application/x-gzip"/>
<RDF:li RDF:resource="urn:mimetype:text/plain"/>
<RDF:li RDF:resource="urn:mimetype:text/html"/>
<RDF:li RDF:resource="urn:mimetype:application/x-mobipocket-ebook"/>
<RDF:li RDF:resource="urn:mimetype:audio/mpeg"/>
<RDF:li RDF:resource="urn:mimetype:application/vnd.oasis.opendocument.text"/>
<RDF:li RDF:resource="urn:mimetype:application/x-msdos-program"/>
<RDF:li RDF:resource="urn:mimetype:application/x-deb"/>
</RDF:Seq>
<RDF:Description RDF:about="urn:mimetype:text/plain"
NC:value="text/plain"
NC:editable="true"
NC:description="plain text document">
<NC:fileExtensions>txt</NC:fileExtensions>
<NC:fileExtensions>asc</NC:fileExtensions>
<NC:fileExtensions>text</NC:fileExtensions>
<NC:fileExtensions>pot</NC:fileExtensions>
<NC:fileExtensions>brf</NC:fileExtensions>
<NC:fileExtensions>srt</NC:fileExtensions>
<NC:handlerProp RDF:resource="urn:mimetype:handler:text/plain"/>
</RDF:Description>
<RDF:Description RDF:about="urn:mimetype:handler:text/plain"
NC:alwaysAsk="true"
NC:saveToDisk="true">
<NC:externalApplication RDF:resource="urn:mimetype:externalApplication:text/plain"/>
</RDF:Description>
Note: the order in which they occur is important. As is the presence of any other handler rules for text/plain.
If you have those rules, in that order, and no other rules about text/plain then plain text files will be rendered by the browser - I checked with Windows 8.1 (and I want that 10 minutes back).
If modifying/correcting mimeTypes is too hard for you. Use the extension that achieves the same outcome.