diff options
author | aniran <aniran.chandravongsri@gmail.com> | 2018-04-26 16:46:40 -0400 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2018-04-27 17:55:58 -0700 |
commit | 920dda79b7d66f30a05aaa03e3fe8dc74aab515b (patch) | |
tree | f5654c7434d67fe02fa98580e7a36ac248f43c1a /reader/sanitizer | |
parent | 1ce522b98a35688f00e2cbe5bca20cc4a666bb66 (diff) |
Add soundcloud and bandcamp iframe sources
Diffstat (limited to 'reader/sanitizer')
-rw-r--r-- | reader/sanitizer/sanitizer.go | 6 |
1 files changed, 6 insertions, 0 deletions
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 { |