Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

How to enable Content Security Policy inline script-src? (no replies)

$
0
0
Hi,

I'm getting CSP errors for using Stripe payment module in Prestashop.

browser console:
"Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”)."

How can I enable them?
I added to <IfModule mod_headers.c>
Header set Content-Security-Policy "script-src 'self';"
but its not working.

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>