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

CSP Twitter image #81

Open
ltfschoen opened this issue Feb 19, 2023 · 0 comments
Open

CSP Twitter image #81

ltfschoen opened this issue Feb 19, 2023 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@ltfschoen
Copy link
Owner

ltfschoen commented Feb 19, 2023

Unsure how to update CSP when it displays the syndication.twitter.com/i/jot/embeds?l=%7B%22widget_origin%22%3A%22https%3A%2F%2Fclawbird.com%2F%22%2C%22widget_frame%22%3Afalse%2C%22language%22%3A%22en%22%2C%22message%22%3A%.......... net::ERR_BLOCKED_BY_CLIENT error in console when it opens the "Share & Request Tip (on-chain)!" modal, since i think that embed might be dynamic

This isn't important because the image still loads and it all still works

twitter relevant parts of the CSP are already

 Content-Security-Policy "default-src 'self' 'unsafe-eval'; upgrade-insecure-requests; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-eval' platform.twitter.com syndication.twitter.com; script-src-elem 'self' https://platform.twitter.com/widgets.js https://platform.twitter.com/js/button.e7f9415a2e000feaab02c86dd5802747.js; img-src 'self' data: https://syndication.twitter.com; frame-src 'self' https://platform.twitter.com/";
@ltfschoen ltfschoen added bug Something isn't working help wanted Extra attention is needed labels Feb 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant