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

Allow passing a function to :content-security-policy #289

Open
p-himik opened this issue May 5, 2019 · 1 comment
Open

Allow passing a function to :content-security-policy #289

p-himik opened this issue May 5, 2019 · 1 comment

Comments

@p-himik
Copy link

p-himik commented May 5, 2019

As far as I understand, in order for WebSockets to work, you should specify something like wss://example.com in the CSP header.
Right now, you can either specify the wss: wildcard or write your own interceptor.

@jdf-id-au
Copy link

This would also be helpful for generating a dynamic nonce.

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

2 participants