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

Created on 24 December 2023, over 1 year ago
Updated 12 January 2024, about 1 year 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.71.5 2024