Open Bug 491208 Opened 16 years ago Updated 2 years ago

Content-Disposition gets ignored when saving files in Page Info / Media

Categories

(Firefox :: Page Info Window, defect)

defect

Tracking

()

People

(Reporter: u212413, Unassigned)

References

(Depends on 2 open bugs)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729) Content-Disposition gets ignored if you want to save a file in Page Info / Media. Reproducible: Always Steps to Reproduce: 1. Open attached testcase 2. Open Page Info window 3. Go to "Media" 4. Try to save the image Actual Results: Proposed filename is "attachment.cgi". Expected Results: Filename should be "pointer_sisters.png" as it sended by the server http header (content-disposition). Saving files using "save target as...", "save image as..." or "save page as..." works as espected. I think this bug happens also in other OSes, but I can't test it.
Attached file Testcase (deleted) —
Depends on: 491206
Component: File Handling → Page Info
QA Contact: file.handling → page.info
Confirming issue on Mac OS X 10.5.6 (nl_NL) / Firefox 3.5b4 (nl_NL). I checked the test case.
Depends on: 291837
Confirming setting to all platforms per Comment 2.
Severity: normal → minor
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows Vista → All
Hardware: x86 → All
(In reply to cubefox from comment #0) > Saving files using "save target as...", "save image as..." or "save page > as..." works as espected. Save Image As doesn't work for me in the latest nightly: * Right-click, Save Image As --> attachment.cgi is presented as the filename. * Right-click, View Image, Save Image As --> same thing. * Right-click, View Image, right-click background, Save Page As --> I get the correct filename. * It's not possible to test Save Link As with your testcase (it doesn't work on unlinked inline images). Bug 107980 is the only relevant report I could find, and it's been marked as WORKSFORME. There are related bugs, but they deal with redirection or plug-in handling, which isn't the case here. Any thoughts on this, please? I've been hitting this issue and it's very frustrating. Can the old report be reopened, should this one be edited accordingly, a new one filed, or what?
Gingerbread Man, I still have this problem only with page info / media but not in the other cases you mentioned. I use Windows 7 x64 and Firefox 15.0.1. I recommend filing a new bug and make it dependend on bug 107980. And please mention your OS, platform and Firefox version. Also you could modify my testcase (see "details" link next to it) and then add it as a .html file to your new bug report. A link for the "save as" case you can added with this line in the <body> section: <p><a href="https://bug175336.bugzilla.mozilla.org/attachment.cgi?id=240134">right click me / save as...</a></p>
Thank you for the reply. Filed bug 789909.
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: