"Open with" add the extension .txt , "Save file" does not
Categories
(Firefox :: File Handling, defect, P5)
Tracking
()
Tracking | Status | |
---|---|---|
firefox75 | --- | affected |
People
(Reporter: alice0775, Unassigned)
References
Details
Reproducible: always
Steps To Reproduce:
- https://bugs.chromium.org/p/chromium/issues/detail?id=1022615
- Left mouse click on "Download" link
3-a. "Open With" [Notepad(default)]
--- observe file name
3-b. "Save file"
Actual Results:
3-a: added .txt --- bug
3-b. saved with .html as expected
Expected Results:
File name should content-disposition filename attribute.
Comment 1•5 years ago
|
||
This probably has to do with the server lying and saying the file is a text/plain document, and we don't think .html is a valid extension for text/plain files.
If we change this, we would need to re-work how the "open with" option works, because it currently functions by just telling the OS "launch this file" [implied: with the default handler for the file extension]. If we kept the .html extension, it would open in the default handler for that extension (ie your default browser), which is also not correct. We'd need to reimplement that part of how launching files works. This is a large project so I don't see it being prioritized soon.
Updated•3 years ago
|
Description
•