-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
CSP violation when directive set to false
#432
Comments
@cesxhin bug confirmed, can reproduce Regression introduced by #408 in function Will fix |
I think we can waint until the release of the next major with your PR. I want to look at it this week to release preferably on thursday a new version if that is ok with you :) |
Sounds good to me |
false
Thanks for the immediate replies. For the moment I have set the version v1.2.2 and I wait when they release. |
Version
nuxt-security: v1.3.2
nuxt: v3.11.2
Reproduction
https://codesandbox.io/p/live/833607a5-4e18-4517-99f3-552549b9b9dd
With code sandbox it would seem to work well but on my PC it doesn't.
I cleaned .nuxt, node_modules and package-lock and reinstalled everything and same result.
I cannot share the entire code which is confidential.
This is the nuxt-security configuration:
Steps to reproduce
Set any value inside contentSecurityPolicy.
What is Expected?
Not show errors of script-src and hash validation.
What is actually happening?
Show errors of script-src and hash validation.
The text was updated successfully, but these errors were encountered: