Explorar el Código

Add embedly.com to iframe whitelist

Frédéric Guillot hace 7 años
padre
commit
a786e78aca
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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",
 		"http://bandcamp.com",
 		"https://bandcamp.com",
+		"https://cdn.embedly.com",
 	}
 
 	for _, prefix := range whitelist {