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 breaks embeds in Peertube 2.1.0 #2509

Closed
Nutomic opened this issue Feb 20, 2020 · 2 comments
Closed

CSP breaks embeds in Peertube 2.1.0 #2509

Nutomic opened this issue Feb 20, 2020 · 2 comments
Labels
Component: Security Type: Bug 🐛 Confirmed bug, at least replicated once by another contributor

Comments

@Nutomic
Copy link
Contributor

Nutomic commented Feb 20, 2020

The content security policy in the latest Peertube version is broken, so that embeds are not working. See the following link for an example. Trying to play the video results in an error message "Blocked by Content Security Policy".

https://radical.town/@felix/103689965787653294

To reproduce:

  1. in the instance config, set csp enabled: true
  2. embed a video on some other site (eg by posting a peertube link on mastodon)
  3. try to play the video
@djoerd
Copy link

djoerd commented Feb 20, 2020

Can confirm, for instance here:
https://djoerdhiemstra.com/2018/welcome-to-foundations-of-information-retrieval/

@Chocobozzz Chocobozzz added Component: Security Type: Bug 🐛 Confirmed bug, at least replicated once by another contributor labels Feb 20, 2020
@Chocobozzz
Copy link
Owner

Thanks for the issue. Should be fixed by dfab4fa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Security Type: Bug 🐛 Confirmed bug, at least replicated once by another contributor
Projects
None yet
Development

No branches or pull requests

3 participants