lib/onebox/engine/trello_onebox.rb in onebox-2.0.2 vs lib/onebox/engine/trello_onebox.rb in onebox-2.1.0
- old
+ new
@@ -5,9 +5,10 @@
class TrelloOnebox
include Engine
include StandardEmbed
matches_regexp(/^https:\/\/trello\.com\/[bc]\/\W*/)
+ requires_iframe_origins "https://trello.com"
always_https
def to_html
link = "https://trello.com/#{match[:type]}/#{match[:key]}.html"