Tighten config validation schema of system.mail mailer_dsn

Created on 13 November 2023, over 1 year ago
Updated 19 July 2024, 12 months ago

Problem/Motivation

The config validation schema introduced in Use structured DSN instead of URI in system.mail mailer_dsn Fixed could be tighter.

Steps to reproduce

Proposed resolution

The string fields could at least disallow control-characters and newlines similar to the label type 📌 Add validation constraint to `type: label` + `type: text`: disallow control characters Fixed (except maybe the password field).

If possible the structured DSN type should be reusable by contrib or custom config entities.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Fixed

Version

11.0 🔥

Component
Mail 

Last updated 3 days ago

No maintainer
Created by

🇨🇭Switzerland znerol

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