Erisa/download-image

data: URIs don't work

Closed this issue · 1 comments

Erisa commented

With the current implementation, trying to download a file which is served through a data: URI doesn't appear to work correctly.

Type error for parameter options (Error processing url: Error: Access denied for URL data:image/png;base64,iVBORw0K[..]
Erisa commented

This only seems to happen on Firefox (Not Chrome) however on Chrome the filenames are just as much of the base64 as it can fit. I would like to replace this with either a small amount of the base64 or just a generic name like unknown.