Preserve 'report-sample' if directive contains 'none'

Created on 24 December 2023, 6 months ago
Updated 12 January 2024, 6 months ago

Problem/Motivation

reduceSourceList() currently removes all other values if a directive contains 'none', but including 'report-sample' is valid.

In CSP 2.0 the behaviour of 'none' will be changed, but this should be fixed in 8.x-1.x
✨ Change handling 'none' with additional sources Fixed

Steps to reproduce

Proposed resolution

Preserve 'report-sample' if present on directive that contains 'none'

Remaining tasks

Investigate any other values that are compatible with 'none'

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada gapple

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024