瀏覽代碼

Add embedly.com to iframe whitelist

Frédéric Guillot 7 年之前
父節點
當前提交
a786e78aca
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      reader/sanitizer/sanitizer.go

+ 1 - 0
reader/sanitizer/sanitizer.go

@@ -307,6 +307,7 @@ func isValidIframeSource(src string) bool {
 		"https://w.soundcloud.com",
 		"https://w.soundcloud.com",
 		"http://bandcamp.com",
 		"http://bandcamp.com",
 		"https://bandcamp.com",
 		"https://bandcamp.com",
+		"https://cdn.embedly.com",
 	}
 	}
 
 
 	for _, prefix := range whitelist {
 	for _, prefix := range whitelist {