Core media OEmbedResource provider validation needs to be case insensitive

Created on 18 June 2019, over 5 years ago
Updated 21 February 2023, almost 2 years ago

The check for media resource provider in core media is currently case sensitive.
Media module sets https://oembed.com/providers.json as the provider URL.
This URL has provider names which are in camel case. eg:
"provider_name": "SoundButt",

But - the configs saves the allowed provider in lower case (eg: soundbutt)

As a result, the provider check fails.

Attaching a patch for fix.

πŸ› Bug report
Status

Closed: duplicate

Version

10.1 ✨

Component
MediaΒ  β†’

Last updated 1 day ago

Created by

πŸ‡¦πŸ‡ΊAustralia gargsuchi Melbourne

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