Core media OEmbedResource provider validation needs to be case insensitive

Created on 18 June 2019, about 5 years ago
Updated 21 February 2023, over 1 year 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 less than a minute ago

Created by

πŸ‡¦πŸ‡ΊAustralia gargsuchi

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.69.0 2024