Allow entering more content in CSP fields

Created on 30 August 2022, about 2 years ago
Updated 28 July 2023, over 1 year ago

Problem/Motivation

The various CSP fields on the configuration page are text fields only allowing up to 1024 characters, This is probably okay for most cases, but for more complex CSP configurations allowing many different sources and potentially whitelisting specific paths this can be too small.

Steps to reproduce

Go to the settings page and try to enter more than 1024 characters of text in any of the CSP policy fields, e.g. default-src.

Proposed resolution

Change the various CSP policy fields to textareas with no limit.

User interface changes

The CSP policy fields will become textareas.

Feature request
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

🇨🇦Canada dylan donkersgoed London, Ontario

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024