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

Content security policy is preventing avatar change #3573

Closed
Betree opened this issue Oct 7, 2020 · 0 comments · Fixed by opencollective/opencollective-frontend#5636
Closed

Comments

@Betree
Copy link
Member

Betree commented Oct 7, 2020

ℹ️ This bug only affects staging at the moment. (CSP is still in report only on prod)

Describe the bug
On staging, it's currently impossible to change your avatar because the CSP block the blob: used for the preview.

To Reproduce
Steps to reproduce the behavior:

  1. Go to any profile (ie. https://staging.opencollective.com/captainfact_io/)
  2. Try to change the picture
  3. See error

Expected behavior
We should allow this preview. Ideally, we don't want to allow all blob but we may have to start with that for simplicity.

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

Successfully merging a pull request may close this issue.

1 participant