Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

skoobi's avatar
Level 13

Firefox Content Security Policy

Hi. Im in the middle of updating the Stripe payments and found an issue when it redirects to the payments page.

Im getting Content Security Policy: The page’s settings blocked the loading of a resource at eval (“script-sr

It only happens in Firefox and works perfect in chrome and safari.

Ive added a meta header <meta http-equiv="Content-Security-Policy" content="default-src *; style-src 'self' http://* 'unsafe-inline'; script-src 'self' http://* 'unsafe-inline' 'unsafe-eval'" /> to see if that works but nothing...

Any ideas?

Cheers

0 likes
0 replies

Please or to participate in this conversation.