Open ryangittings opened 1 month ago
Hey,
For me nothing is working . Even this "x-debug-csp-nonce", "invoked"
header is not getting set.
I have below config in netlify.toml
:
[[plugins]] package = "@netlify/plugin-csp-nonce" [plugins.inputs] reportOnly = false excludedPath = [ "/api/*", ]
I think the package is not working anymore. Is it so ??.
FYI the fix for me was to remove the integration via the UI.
@ryangittings , Sorry can't get you. Can you please explain ??
Go to Home -> Extensions then remove the CSP plugin (that's what worked for me).
What home ?? . Actually i don't have any extensions installed. I just did it via npm package.
There are two ways of doing it . One is via netlify configuration and 2nd is via npm plugin. I choose 2nd one and it's not working.
Hi,
I have the following config in
netlify.toml
:No matter what I do, the deployed version uses
content-security-policy-report-only
, and therefore breaks the CSP and my existing CSP in headers isContent-Security-Policy
, therefore all the new nonce'd inline don't work... This suddenly stopped working recently which is odd...