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

Added csp nonce support #47

Merged
merged 2 commits into from
Jun 24, 2023
Merged

Added csp nonce support #47

merged 2 commits into from
Jun 24, 2023

Conversation

promatik
Copy link
Contributor

Fixes #35.

This PR allows to set the nonce in the config file:

// content security policy nonce
'nonce' => '6t6s5d4fsdf2',

In order to print it in every script/style:
image

If the developer doesn't need/want the nonce to be everywhere, he can either add it manually one by one, or override specific calls with another nonce.

@tabacitu
Copy link
Member

Awesome! No comments.

@tabacitu tabacitu merged commit d0e968a into main Jun 24, 2023
@tabacitu tabacitu deleted the csp-nonce-support branch June 24, 2023 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

CSP (content security policy) nonce support
3 participants