Project

General

Profile

Actions

Bug #103640

open

CSP: default-src: 'none' is inherited to other directives

Added by Chris Müller 14 days ago.

Status:
New
Priority:
Should have
Assignee:
Category:
Content Security Policy
Start date:
2024-04-16
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Using this configuration:

inheritDefault: false

mutations:
  - mode: set
    directive: 'default-src'
    sources:
      - "'none'" 

  - mode: extend
    directive: "child-src" 
    sources:
      - "'self'" 

results in this output:

default-src 'none'; child-src 'none' 'self'

The 'none' in "child-src" is obviously wrong.

No data to display

Actions

Also available in: Atom PDF