Validate "Allowed Origins" contains valid URLs

Created on 29 November 2023, 12 months ago
Updated 24 April 2024, 7 months ago

Problem/Motivation

Access-Control-Allow-Origin can be confusing. I've seen where developers think it must only contain the hostname and they forget the scheme.

Web content's origin is defined by the scheme (protocol), hostname (domain), and port of the URL used to access it.

per https://developer.mozilla.org/en-US/docs/Glossary/Origin

Steps to reproduce

Enter a hostname and it saves

Proposed resolution

Validate all entries are valid origins

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mglaman WI, USA

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