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

[9.x] Add nonce for preloaded assets #44747

Merged
merged 3 commits into from
Oct 27, 2022
Merged

[9.x] Add nonce for preloaded assets #44747

merged 3 commits into from
Oct 27, 2022

Conversation

joostdebruijn
Copy link
Contributor

In #44096 support for preloading is added. However, the preloaded assets don't have the nonce attribute set, which breaks certain CSP-policies (for example when using strict-dynamic for scripts). This PR adds the nonce (if set) for preloaded assets.

@taylorotwell taylorotwell merged commit 2794f81 into laravel:9.x Oct 27, 2022
@joostdebruijn joostdebruijn deleted the fix/missing-nonce-for-preloaded-assets branch October 27, 2022 13:37
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

Successfully merging this pull request may close these issues.

3 participants