From 75707f1c70c555061dc989d07e0f45aeadc9e565 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 7 May 2016 19:49:22 -0700 Subject: [PATCH] Pastebin supports HTTPS embedding now. --- src/Linkification/Embedding.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Linkification/Embedding.coffee b/src/Linkification/Embedding.coffee index 794612c3e..1735a2677 100644 --- a/src/Linkification/Embedding.coffee +++ b/src/Linkification/Embedding.coffee @@ -302,10 +302,9 @@ Embedding = , key: 'Pastebin' regExp: /^\w+:\/\/(?:\w+\.)?pastebin\.com\/(?!u\/)(?:[\w\.]+\?i\=)?(\w+)/ - httpOnly: true el: (a) -> div = $.el 'iframe', - src: "http://pastebin.com/embed_iframe.php?i=#{a.dataset.uid}" + src: "//pastebin.com/embed_iframe.php?i=#{a.dataset.uid}" , key: 'SoundCloud' regExp: /^\w+:\/\/(?:www\.)?(?:soundcloud\.com\/|snd\.sc\/)([\w\-\/]+)/