Add soundcloud and bandcamp iframe sources

This commit is contained in:
aniran 2018-04-26 16:46:40 -04:00 committed by Frédéric Guillot
parent 1ce522b98a
commit 920dda79b7
1 changed files with 6 additions and 0 deletions

View File

@ -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 {