Closed adrian-cerdeira closed 4 months ago
@adrian-cerdeira Hey, I also tried to use CSP-Headers in Neos in combination with this package.
I started using https://github.com/LarsNieuwenhuizen/Nieuwenhuizen.ContentSecurityPolicy where the last version is over 6 years old now, so it isn't working anymore. I'm trying to repair the package at the moment and later there will be a working version of the package.
I was able to add nonce-Values to Tags where needed but the value was removed. This is an ongoing issue in Klaro, which is used by CookiePunch. There is an open issue and PR since a long time now in Klaro: https://github.com/klaro-org/klaro-js/issues/441
So hopefully the issue in Klaro will be resolved soon and I'll be able to publish the fixes for the Nieuwenhuizen.ContentSecurityPolicy package and then we can easily use CSP-Headers in Neos.
But in this package here there is no issue with CSP and nonces directly so I think that the issue can be closed @fheinze
@t-heuser Thanks for the information, keep me updated 😃
I have a problem to use CSP-Header with this package. It gives me this error:
In the code the error is that it doesnt have a nonce value the dynamically added stylesheet. Can we maybe define this in the settings or other possibility?