Skip to content

Fix embed source template resolution - #91

Merged
dereuromark merged 1 commit into
nextfrom
feature/fix-embed-src-resolution
Jun 28, 2026
Merged

dereuromark merged 1 commit into
nextfrom
feature/fix-embed-src-resolution

Conversation

@dereuromark

Copy link
Copy Markdown
Owner

Fixes normal URL parsing so iframe-player templates resolve against regex matches instead of reverse-ID substitution.

This repairs malformed embed src output for multi-capture providers such as Mixcloud, Spotify, Bandcamp, PeerTube, Metatube, and Vooplayer. It also makes getEmbedSrc() return a raw URL while getEmbedSrcForHtml() remains the HTML-escaped variant used by generated iframe output.

Local checks: composer cs-fix && composer cs-check && composer stan && composer test

@dereuromark
dereuromark marked this pull request as ready for review June 28, 2026 12:10
@dereuromark
dereuromark merged commit ec627b3 into next Jun 28, 2026
8 checks passed
@dereuromark
dereuromark deleted the feature/fix-embed-src-resolution branch June 28, 2026 12:10
dereuromark added a commit that referenced this pull request Jun 28, 2026
* Fix embed source template resolution (#91)

* Validate iframe attribute names (#92)

* Reject unsafe oEmbed endpoint URLs (#93)

* Harden default stream HTTP client (#95)

* Tighten URL matcher provider fallback

* Finalize master hardening backport
dereuromark added a commit that referenced this pull request Jun 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant