From 336d59391e67e7b631bcca02695078497b4a4d4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Mon, 13 May 2013 23:12:05 +0200 Subject: [PATCH] FIX: Oneboix link target is discourse instance This is the quickest fix to get Techcrunch oneboxing working. The right fix would be to update the oembed onebox to work properly for the "link" type. --- lib/oneboxer/whitelist.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/oneboxer/whitelist.rb b/lib/oneboxer/whitelist.rb index c911cfc3416..bddaa5a2a85 100644 --- a/lib/oneboxer/whitelist.rb +++ b/lib/oneboxer/whitelist.rb @@ -56,7 +56,7 @@ module Oneboxer Entry.new(/^https?:\/\/(?:www\.)?bloomberg\.com\/.+/), Entry.new(/^https?:\/\/(?:www\.)?ign\.com\/.+/), Entry.new(/^https?:\/\/(?:www\.)?twitpic\.com\/.+/), - Entry.new(/^https?:\/\/(?:www\.)?techcrunch\.com\/.+/), + Entry.new(/^https?:\/\/(?:www\.)?techcrunch\.com\/.+/, false), Entry.new(/^https?:\/\/(?:www\.)?usatoday\.com\/.+/), Entry.new(/^https?:\/\/(?:www\.)?go\.com\/.+/), Entry.new(/^https?:\/\/(?:www\.)?businessinsider\.com\/.+/),