skip to Main Content

Html – Content-Security-Policy: The page’s settings blocked the loading of a resource at xyz.com (“default-src”) issue

I'm getting the following issue: Content-Security-Policy: The page’s settings blocked the loading of a resource at blob:https://test.com/ff851-924-4522-8b74-f1d4f8c9f (“default-src”). whenever I click Export button which exports user data in Mozilla Firefox browser. The file is also not getting downloaded. The same…

VIEW QUESTION

Jquery – Getting CORS issue in API calling from AJAX

I am getting CORS issue while calling API from Ajax with header Content-Security-Policy":"frame-ancestors 'none'. My APIs are built in Java spring boot. API server is already configured with Access-Control-Allow-Origin : *. If i remove Content-Security-Policy":"frame-ancestors 'none', the API is working…

VIEW QUESTION

Content Security Policy flags script as blocked due to use of 'eval' but script still loads? – Javascript

Chrome (111), FireFox (111), and MS Edge (111) all behave the same way. My (abbreviated for clarity) CSP header includes: content-security-policy: default-src 'self';script-src 'self' blob: *.usercentrics.eu;connect-src 'self' *.usercentrics.eu;font-src 'self' data: ;img-src 'self' blob: data: *.usercentrics.eu;style-src 'self' 'unsafe-inline' ;frame-src 'self' ;object-src…

VIEW QUESTION

Stripe CSP when loading stripe.js – Html

I'm trying to load <script src="https://js.stripe.com/v3/"></script> on a static page, so I've added the following Content-Security-Policy: <meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' 'unsafe-inline' https://js.stripe.com https://maps.googleapis.com; connect-src 'self' https://api.stripe.com https://hooks.stripe.com https://maps.googleapis.com; frame-src 'self' https://js.stripe.com https://hooks.stripe.com; " /> I then start my…

VIEW QUESTION
Back To Top
Search