[wp-trac] [WordPress Trac] #38181: Add oEmbed support for Amazon Kindle Instant Previews

WordPress Trac noreply at wordpress.org
Tue Aug 22 10:25:02 UTC 2017


#38181: Add oEmbed support for Amazon Kindle Instant Previews
--------------------------------------+--------------------------
 Reporter:  jsepia                    |       Owner:  johnbillion
     Type:  enhancement               |      Status:  reviewing
 Priority:  normal                    |   Milestone:  4.9
Component:  Embeds                    |     Version:  4.7
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+--------------------------
Changes (by johnbillion):

 * keywords:  has-patch needs-testing has-unit-tests => has-patch has-unit-
     tests


Comment:

 I'd really like to get this in, but I'm not a fan of allowing embeds from
 any subdomain of the amazon domains (the `([a-z0-9-]+\.)?amazon\.` portion
 of the regex).

 @rugved Can this be restricted to `([read|www]\.)?amazon\.` to only allow
 embeds from the `read.` and `www.` subdomains? See [comment:23 comment 23]
 for reference.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38181#comment:42>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list