Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cdn data:image/svg+xml; url failing #1555

Closed
jpettitt opened this issue Jan 25, 2016 · 6 comments
Closed

cdn data:image/svg+xml; url failing #1555

jpettitt opened this issue Jan 25, 2016 · 6 comments
Assignees

Comments

@jpettitt
Copy link
Contributor

[not sure where to file bugs against the CDN ...]

I've been testing some amp-carousel code, it works fine on our CDN, passes the validatior, it also passes the validatior and displays on cdn.ampproject.org except that the svg's for the next/prev are being blocked by cors.

Refused to load the image 'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="#fff" viewBox="0 0 18 18"><path d="M15 8.25H5.87l4.19-4.19L9 3 3 9l6 6 1.06-1.06-4.19-4.19H15v-1.5z" /></svg>' because it violates the following Content Security Policy directive: "default-src *". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback.

@dvoytenko
Copy link
Contributor

/cc @cramforce

@cramforce
Copy link
Member

@jpettitt Is this a good test case for your problem? It works for me in Chrome and Safari https://cdn.ampproject.org/c/output.jsbin.com/puzuwu/quiet

@cramforce
Copy link
Member

Ah, Firefox fails. Did you see it failing anywhere else?
That seems to be a bug in Firefox

@cramforce
Copy link
Member

Never mind. See it in Chrome.

@cramforce
Copy link
Member

Will get fixed on our end

@cramforce
Copy link
Member

This should now work again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants