Trim \r and \n from restricted domains list on config save

Created on 16 June 2023, about 1 year ago

Problem/Motivation

The restricted domains config can be exported with trailing carriage returns eg

restricted_domains:
  - "somedomain.com\r"
  - someotherdomain.com

Steps to reproduce

Submit the config form and export config

Proposed resolution

Use trim on the values

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇦🇺Australia larowlan 🇦🇺🏝.au GMT+10

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

Comments & Activities

Production build 0.69.0 2024