Open Bug 923832 Opened 12 years ago Updated 3 years ago

You can't save a base64 encoded image through drag and drop

Categories

(Core :: Widget: Win32, defect, P3)

x86_64
Windows 7
defect

Tracking

()

People

(Reporter: daniel.nr01, Unassigned)

Details

(Whiteboard: tpi:+)

Attachments

(1 file)

Attached file base64img.html
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0 (Beta/Release) Build ID: 20131004030203 Steps to reproduce: * Open the attached "base64img.html" page * Drag and drop the image to your desktop Actual results: The image is saved as some kind of base64 encoded link. Expected results: The image should be saved as a proper image (a real png image in this case). If you don't drag and drop and instead right click on the image and choose "Save image as..." you will have a ordinary image file, which makes the drag and drop behavior a bit inconsistent. I came across this when I right clicked a canvas and chose "View image". What is shown then is base64 encoded.
Although I couldn't drag and drop any images to my desktop, I could drag and drop normal images to a folder in Windows Explorer but was still unable to drag and drop the base64 test image. I tried this using Google Chrome and it was able to save the base64 test image as a normal PNG file by simply draging and dropping it into my Windows Explorer folder. Bug was reported using FF27 and I tested it on FF24 so I've changed the version flag to trunk.
Status: UNCONFIRMED → NEW
Component: Untriaged → File Handling
Ever confirmed: true
Version: 27 Branch → Trunk
Component: File Handling → Widget: Win32
Product: Firefox → Core
Same problem here.
Priority: -- → P3
Whiteboard: tpi:+
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: