Closed
Bug 208291
Opened 22 years ago
Closed 22 years ago
Suggested filename in Content-Disposition is not always heeded to by Mozilla
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
People
(Reporter: pavlyk, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030604
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030604
Whenever Mozilla does not know of some MIME type, yet has
Content-Type: application/octet-stream
Content-Disposition: attachment; filename=test.ext
it prompts to save(open) file, suggesting flename 'test.ext.html'
If the type is known it works OK, like for
Content-Type: application/pdf
Content-Disposition: attachment; filename=test.pdf
Adding Content-Length in the response header does not resolve the problem
Reproducible: Always
Steps to Reproduce:
1. Make Apache spit out
Content-Type: application/octet-stream
Content-Disposition: attachment; filename=text.tex
and some content
2. Direct Mozilla to the page just created
Actual Results:
Mozilla prompts you to save the file, suggesting filename text.tex.html
Expected Results:
Suggest text.tex to save
Comment 1•22 years ago
|
||
*** This bug has been marked as a duplicate of 65827 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•