Closed
Bug 221802
Opened 21 years ago
Closed 21 years ago
default helper application identified by URL extension, not content-disposition
Categories
(Core Graveyard :: File Handling, defect)
Tracking
(Not tracked)
People
(Reporter: matthew, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030728 Mozilla Firebird/0.6.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030728 Mozilla Firebird/0.6.1
When requesting a file with a content disposition of "attachment", the resulting
dialog box names a default application which is chosen on the basis of the URL's
extension, rather than the content-type or the filename given in the
content-disposition header. The file actually opens in the expected application,
though.
Reproducible: Always
Steps to Reproduce:
1.Enter http://www.torchbox.com/content_disposition_bug.rm in address bar
Actual Results:
Dialog box reads:
The site has suggested that "plaintext.txt" be handled as an attachment. It is
of type text/plain (Text File) and located at:
http://www.torchbox.com/
What should Mozilla Firebird do with this file?
* Open it with the default application (RealPlayer)
* Open it with [Choose...]
* Save it to disk
Upon choosing "Open it with the default application (RealPlayer)", the file
opens in Notepad.
Expected Results:
The first option in the dialog box should read "Open it with the default
application (Notepad)".
The HTTP response headers for the above URL include:
Content-Disposition: attachment; filename=plaintext.txt;
Content-Type: text/plain
Comment 1•21 years ago
|
||
Fixed a month ago. Please do test with something like a current build... ;)
*** This bug has been marked as a duplicate of 65827 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•