Ticket #20102 (closed enhancement: fixed)

Opened 12 months ago

Last modified 5 months ago

https oEmbed

Reported by: gluten Owned by: ryan
Priority: normal Milestone: 3.5
Component: Embeds Version: 3.3.1
Severity: normal Keywords: has-patch commit
Cc: georgemamadashvili@…, yoavf, jeremy@…, simon@…

Description

The new version of vimeo.com uses https urls, which currently do not trigger WordPress's oEmbed embedding.

Attachments

vimeo-oembed-https.diff (1.1 KB) - added by gluten 12 months ago.
vimeo-oembed-https.2.diff (1.1 KB) - added by johnjamesjacoby 6 months ago.
Patch was stale. Refreshed for whitespace. (wcgr)
vimeo-oembed-https.3.diff (4.6 KB) - added by johnjamesjacoby 6 months ago.
Massaged to handle https/http for all providers
vimeo-oembed-https.4.diff (4.5 KB) - added by johnjamesjacoby 6 months ago.
Cleans up version 3 logic (wcgr)

Change History

  • Milestone changed from Awaiting Review to 3.4
  • Component changed from General to Embeds
  • Milestone changed from 3.4 to Awaiting Review

Same problem as with YouTube https embed, see #18719.

  • Cc georgemamadashvili@… added
  • Cc yoavf added
  • Milestone changed from Awaiting Review to 3.5
  • Cc jeremy@… added

I feel like oEmbed in WordPress should automatically handle https links for all providers, including those that are not regular expressions (http://example.com/*).

Patch was stale. Refreshed for whitespace. (wcgr)

Applied JJJ's patch, works! Rock on WCGR! Props JJJ and Mark Jaquith!

Applied JJJ's patch as well and it works. Thanks for showing us how @ WCGR!

Massaged to handle https/http for all providers

vimeo-oembed-https.3.diff updates all the regular expressions to handle https. Updates the simple URL processor to handle https in the regular expression it generates. Props WCGR.

Cleans up version 3 logic (wcgr)

  • Keywords commit added

Looks good.

  • Cc simon@… added

Always nice to see someone has already created the patch you were about to create. :)

  • Summary changed from Vimeo https oEmbed to https oEmbed
  • Owner set to ryan
  • Status changed from new to closed
  • Resolution set to fixed

In [21915]:

Handle https for all oembed providers. Props johnjamesjacoby, gluten. fixes #20102

youtu.be also seems to accept https, although it redirects to the http version when accessed via browser.

Last edited 5 months ago by camiloclc (previous) (diff)
Note: See TracTickets for help on using tickets.