Issue Bug Closed

#104727Mode "reduce" in csp.yaml not working

Chris Müller 08/25/24, 10:50 updated 10/15/24, 09:06

Description

I defined the following csp.yaml:

inheritDefault: true
mutations:
  - mode: reduce
    directive: 'style-src-attr'
    sources:
      - "'unsafe-inline'"

to remove the ‘unsafe-inline” source from “style-src-attr”. However, the header still sends it:

style-src-attr 'unsafe-inline' 'report-sample'; 

Reviews 2

History 24

  1. Gerrit Code Review pushed patch set 1 for main to change 85812 status New Under Review 08/28/24, 12:37

  2. Gerrit Code Review pushed patch set 1 for 12.4 to change 85841 09/02/24, 10:17

  3. Oliver Hader commented and changed status Under Review Resolved done 0 % 100 % 09/02/24, 10:30

    Applied in changeset commit:4331cf82b72086ccd74b7c47b1bbe60ea2cfffde.

  4. Benni Mack changed status Resolved Closed 10/15/24, 09:06