Skip to content

[Bug] The Content-Security-Policy header must not be overridden #13554

Open
apache/skywalking-website
#815

Description

@sebbASF

https://github.com/apache/skywalking-website/blob/2c07fa6a75d09f36460d022cc14b85f91625337f/.htaccess#L4

The Content-Security-Policy header must not be overridden.

There is now a standard way to add local exceptions to the CSP:

https://infra.apache.org/tools/csp.html

Please update the .htaccess file accordingly.

Activity

  1. added
    bugSomething isn't working and you are sure it's a bug!
    on Oct 25, 2025
  2. sebbASF commented on Oct 28, 2025

    @sebbASF
    Author

    Please note that the policy says that any exceptions must have been approved, and a reference to the approval must be commented in the .htaccess file

  3. wu-sheng commented on Oct 29, 2025

    @wu-sheng
    Member

    @Jtrust is working on that. We will get feedback on this.

  4. sebbASF commented on Mar 21, 2026

    @sebbASF
    Author

    Please re-open - the supposed fix was reverted.

    Note also that any fix must document the approval for any overrides that are included in CSP_PROJECT_DOMAINS.

  5. wu-sheng commented on Mar 21, 2026

    @wu-sheng
    Member

    Please re-open - the supposed fix was reverted.

    Note also that any fix must document the approval for any overrides that are included in CSP_PROJECT_DOMAINS.

    @sebbASF We faced a conflict after accepting that, the kapa widget doesn't work. Did you have experience with this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working and you are sure it's a bug!websiteWebsite related.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions