Skip to content

Cannot download with the "Download my painting" button; CSP error: “blocked the loading of a resource at data:image/png;base64” #325

@hueychen27

Description

@hueychen27

MDN URL

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#sect17

What specific section or headline is this issue about?

No response

What information was incorrect, unhelpful, or incomplete?

When you click the "Download my painting" button on the example canvas, it doesn't download the painting.

What did you expect to see?

I expected to download a png file of the canvas.

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

In the console it keeps printing this error: Content Security Policy: The page’s settings blocked the loading of a resource at data:image/png;base64,[insert some base64]... ("frame-src") when I click the download button.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageTriage needed by staff and/or partners. Automatically applied when an issue is opened.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions