[wp-trac] [WordPress Trac] #18928: Vimeo oEmbed API URL incorrect causing Vimeo oEmbed to not function
WordPress Trac
wp-trac at lists.automattic.com
Thu Oct 13 15:41:38 UTC 2011
#18928: Vimeo oEmbed API URL incorrect causing Vimeo oEmbed to not function
--------------------------+------------------
Reporter: l3rady | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.3
Component: Embeds | Version: 3.3
Severity: minor | Resolution:
Keywords: has-patch |
--------------------------+------------------
Changes (by SergeyBiryukov):
* milestone: Awaiting Review => 3.3
Comment:
Confirmed.
Vimeo tries to redirect to an URL without `www`, but apparently double-
encodes query args in the process.
This works:
{{{
http://vimeo.com/api/oembed.json?maxwidth=584&maxheight=600&url=http%3A%2F%2Fvimeo.com%2F30230507&format=json
}}}
This doesn't:
{{{
http://www.vimeo.com/api/oembed.json?maxwidth=584&maxheight=600&url=http%3A%2F%2Fvimeo.com%2F30230507&format=json
}}}
Note the double-encoded video URL after the redirect:
`http%253A%252F%252Fvimeo.com%252F30230507`.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18928#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list