Closed Bug 451793 Opened 16 years ago Closed 13 years ago

Save image as saves containing web page instead

Categories

(Firefox :: File Handling, defect)

3.0 Branch
x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: shiva, Unassigned)

References

()

Details

(Whiteboard: [CLOSEME 2011-1-30])

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1

Load the above URL, an HTML document with JavaScript that loads the argument image. Right click the image and select "Save image as". The HTML document, not the image, is saved to disk. The HTML also has binary gibberish intermixed in it, but clearly not a JPEG image.

Inspection of the HTML (via Tools | Page info) reveals the true URL of the image.

Reproducible: Always
WFM on Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1a2pre) Gecko/20080822033426 Minefield/3.1a2pre. Are you sure you are clicking on the image, and saving as a .jpg? Also, try in Safe Mode.
Tested again in safe mode without improvement.

I do indeed right-click on the image, and JPEG is the type pre-selected in the file dialog. There appears to be a black background. Right-clicking on that gives me a different context menu that omits the "Save image as..." option, as I would expect clicking on the containing page.
Can you give a screenshot of the right-click, and the context menu, etc?
Attached. The window behind Firefox on the left is my text editor, showing the previously-downloaded image file (with a "c" appended to the filename).

This was done on a different machine, this time running XP 64.

(To get the screenshot, I right-clicked to get the menu, hit PrtScr, then pasted to Irfanview. Alt-PrtScr (to capture just the application window) won't work because the Alt key dismisses the context menu.)
"Saving an image saves a web page instead" happens to me on my bank's website as well as ups.com.  The web page saved (in place of the image) is a login page.  I cannot provide a link because you must be logged in.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11
Reporter, are you still seeing this issue with Firefox 3.6.13 or later in safe mode? If not, please close. These links can help you in your testing.
http://support.mozilla.com/kb/Safe+Mode
http://support.mozilla.com/kb/Managing+profiles
Whiteboard: [CLOSEME 2011-1-30]
Version: unspecified → 3.0 Branch
No reply, INCOMPLETE. Please retest with Firefox 3.6.13 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: