-
Notifications
You must be signed in to change notification settings - Fork 3
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
Testing csp policy phase is preventing webrowser to load ressources #12
Comments
The line you copied reports "Report Only". This should not prevent the script from loading. |
Ok well i have an issue then... When the test policy is not applied, browser clients correctly load the ressources. How can i troubleshoot this ? |
Sorry, I don't understand. |
My bad i wasn't clear in my statement.
|
Is the resource whitelisted? |
Try to use nonces and not hashes. Maybe the CSP generated with hashes is too big to fit the response header size of your server. |
Hello,
I was testing the policy and the product owner notified me that some ressources are not loaded in the browser during the fifth phase that is mentionned in the helper of the plugin
This is an example found in the browser console with the devtool.

I thought that during this phase, the policy couldn't impact the client naviguation on the wordpress site.
It appeared to me that the testing CSP policy doesn't "always" prevent a loading.
maybe i miss something ?
regards,
BBA
The text was updated successfully, but these errors were encountered: