Changes of the module don't reflect in front-end

Created on 30 December 2024, 4 months ago

Problem/Motivation

I'm trying to get my CSP settings right. But changes I make don't seem to reflect in the front-end of my site. I tried emtying the cache of the site and browser.

At this moment I disabled both reporting and forced options. And I still get all errors reported in the console.
What can I do to see the changes I made?

πŸ’¬ Support request
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands zebda

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @zebda
  • πŸ‡¨πŸ‡¦Canada gapple

    Are the errors being reported on all pages (e.g. while you're viewing the settings form with all options disabled, or only public pages)? Do you see a Content-Security-Policy or Content-Security-Policy in the response headers in the browser developer tools? Do you have a proxy service caching pages between the server and your browser?

    The module tags its own cached info and any page responses with the settings key, so they should be automatically invalidated when you save the settings page. Private responses, such as for authenticated users, should always bypass any page caching and generate the header based on the latest settings (provided the cache backend understands cache tag invalidations).

  • πŸ‡³πŸ‡±Netherlands zebda

    Sorry I'm so stupid…
    I had a chrome extension running showing a CSP report.
    Problem solved.

  • πŸ‡³πŸ‡±Netherlands zebda
Production build 0.71.5 2024