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

vite_entry_link_tags nonce attribute #45

Open
DavidPetrasek opened this issue Sep 18, 2024 · 0 comments
Open

vite_entry_link_tags nonce attribute #45

DavidPetrasek opened this issue Sep 18, 2024 · 0 comments

Comments

@DavidPetrasek
Copy link

DavidPetrasek commented Sep 18, 2024

Description

vite_entry_script_tags does support nonce attribute in dev environment, but vite_entry_link_tags does not. Why is that?
I am using NelmioSecurityBundle and I am encoutering a CSP violation after having to set a style nonce:
... {{ csp_nonce('style') }}... (see: symfony/ux#2175 (comment))

I know nonces are not required for development, but it's better to have them in dev IMHO.

Example

No response

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

1 participant