lib/onebox/engine/standard_embed.rb in onebox-1.6.1 vs lib/onebox/engine/standard_embed.rb in onebox-1.6.2
- old
+ new
@@ -20,10 +20,10 @@
# Some oembed providers (like meetup.com) don't provide links to themselves
add_oembed_provider(/www\.meetup\.com\//, 'http://api.meetup.com/oembed')
def always_https?
- WhitelistedGenericOnebox.host_matches(uri, WhitelistedGenericOnebox.https_hosts)
+ WhitelistedGenericOnebox.host_matches(uri, WhitelistedGenericOnebox.https_hosts) || super
end
def raw
return @raw if @raw