Closed
Bug 285360
Opened 19 years ago
Closed 19 years ago
Improper handling of human readable text files
Categories
(Firefox :: File Handling, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 258012
People
(Reporter: whitis, Assigned: bugs)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Firefox does not handle human readable text files correctly. For example, clicking on the link above to a .c file (from slashdot) should display the contents of the file as plain ascii text in the browser window. Displaying plain text is a simple degenerate case of displaying html/xml and firefox already does the right thing for .txt files (for example, http://www.robotstxt.org/robots.txt). This should be an option for all files of unrecognized type. This should be an option for XML/HTML and other seemingly recognized formats as well. - in the save/open dialog ("Open in browser as plain text") - on the link right click menu "Open link AS PLAIN TEXT in new tab" - on the document/frame right click menu "Rerender as plain text/View Source" Actually, there is a view source in the view menu, but it stupidly opens an unauthorized popup. - In the mime types configuration dialog for a particular type, this should ALWAYS be one of the options. In general, the following options should be availible for any type of file, in addition to any other options that may apply: - Render as plain text - Render as combined hex/ascii dump - Force rendering as if HTML Reproducible: Always Steps to Reproduce: 1. Click on link
Comment 1•19 years ago
|
||
*** This bug has been marked as a duplicate of 258012 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•