Add embedly.com to iframe whitelist

This commit is contained in:
Frédéric Guillot 2018-07-10 20:56:54 -07:00
parent 3bdb9251da
commit a786e78aca

View file

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