From 920dda79b7d66f30a05aaa03e3fe8dc74aab515b Mon Sep 17 00:00:00 2001 From: aniran Date: Thu, 26 Apr 2018 16:46:40 -0400 Subject: Add soundcloud and bandcamp iframe sources --- reader/sanitizer/sanitizer.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'reader/sanitizer') diff --git a/reader/sanitizer/sanitizer.go b/reader/sanitizer/sanitizer.go index 16f1624..d1ad13e 100644 --- a/reader/sanitizer/sanitizer.go +++ b/reader/sanitizer/sanitizer.go @@ -280,6 +280,12 @@ func isValidIframeSource(src string) bool { "https://www.dailymotion.com", "http://vk.com", "https://vk.com", + "http://soundcloud.com", + "https://soundcloud.com", + "http://w.soundcloud.com", + "https://w.soundcloud.com", + "http://bandcamp.com", + "https://bandcamp.com", } for _, prefix := range whitelist { -- cgit v1.2.3