From 91c734e4fc1c4a722ddaa5b6693e6dc0e9e23a23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonne=20Ha=C3=9F?= Date: Wed, 19 Nov 2014 15:48:12 +0100 Subject: [PATCH] Avoid mixed content warning through oEmbed content - Switch dailymotion oEmbed endpoint to https - Accept Mixcloud https URLs - Accept dailymotion https URLs --- config/oembed_providers.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config/oembed_providers.yml b/config/oembed_providers.yml index 1c3970820..7cde6334e 100644 --- a/config/oembed_providers.yml +++ b/config/oembed_providers.yml @@ -3,9 +3,10 @@ # note that 'endpoint' is the only information # in OEmbed that we can trust. anything else may be spoofed! daily_motion: - endpoint: "http://www.dailymotion.com/services/oembed" + endpoint: "https://www.dailymotion.com/services/oembed" urls: - http://www.dailymotion.com/video/* + - https://www.dailymotion.com/video/* twitter: endpoint: "https://api.twitter.com/1/statuses/oembed.json" @@ -16,4 +17,5 @@ twitter: mixcloud: endpoint: "http://www.mixcloud.com/oembed/" urls: - - http://www.mixcloud.com/*/* \ No newline at end of file + - http://www.mixcloud.com/*/* + - https://www.mixcloud.com/*/*