Replies: 1 comment
-
Hello @lbodev! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I am having difficulty implementing the Content Security Policy using the PHP SDK.
I would like some help on this point.
My .htaccess looks like this:
# Content-Security-Policy (CSP) Header set Content-Security-Policy "default-src 'self'; script-src 'report-sample' 'self' 'unsafe-inline' 'unsafe-eval' https://http2.mlstatic.com https://fonts.googleapis.com https://unpkg.com https://*.google.com https://*.gstatic.com; script-src-elem 'self' 'unsafe-inline' https://cdn.datatables.net https://fonts.googleapis.com https://unpkg.com https://*.google.com https://*.gstatic.com; style-src 'self' 'unsafe-inline' https://cdn.datatables.net fonts.googleapis; style-src-elem 'self' 'unsafe-inline' https://cdn.datatables.net https://fonts.googleapis.com https://unpkg.com; font-src 'self' https://fonts.gstatic.com; object-src 'none'; frame-src 'self' https://*.google.com; img-src 'self' data: http://*.w3.org https://api.qrserver.com https://img.youtube.com; connect-src 'self' https://cdn.datatables.net;"
And the error reported as shown in the image
Beta Was this translation helpful? Give feedback.
All reactions