Closed
Bug 286596
Opened 20 years ago
Closed 20 years ago
forced download on text/plain
Categories
(Toolkit :: Downloads API, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: ashmodai, Assigned: bugs)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1 StumbleUpon/1.9993 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1 StumbleUpon/1.9993 After setting up a file extension to be mapped to a foreign MIME type and setting it back to text/plain, Firefox still tries to force download. Reproducible: Always Steps to Reproduce: 1. Set up your server to map the filename extension ".foo" to be mapped to the MIME type "text/x-foo" 2. Open a file with that filename extension from your server via Firefox 3. In the Download prompt select system default 4. In Windows' "Open With" prompt select Notepad/Editor 5. In "Windows Explorer" remove the filetype/application binding 6. Set up your server to map the extension ".foo" to "text/plain" 7. Open the file again 8. Reboot and repeat Actual Results: Firefox prompts me with a download prompt for the file now mapped to "text/plain", calling it an unknown format "FOO-File". Expected Results: Firefox should treat the file by its MIME type and display it as plain text in the browser window. The behaviour does not occur in MSIE 6, which displays the "text/plain" file as expected.
Clearing cache, history and download manager history fixed the bug. Nevermind that.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Updated•16 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•