Add config validation constraint for sources

Created on 7 September 2024, 7 months ago
Updated 14 September 2024, 7 months ago

Problem/Motivation

Copy / move the validation for additional sources in policy config from CspSettingsForm::validateForm to a config validation constraint.

Proposed resolution

Create a custom validator to check that sources are one of the supported types:
- A protocol (e.g. https:)
- A domain/uri (e.g https://example.com)
- A hash

Nonces are not permitted in config

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

2.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