Browse Source

update whitelist fix bilibili video

hykhd 5 years ago
parent
commit
3cb04b2c56
1 changed files with 1 additions and 0 deletions
  1. 1 0
      reader/sanitizer/sanitizer.go

+ 1 - 0
reader/sanitizer/sanitizer.go

@@ -326,6 +326,7 @@ func isValidIframeSource(baseURL, src string) bool {
 		"http://bandcamp.com",
 		"http://bandcamp.com",
 		"https://bandcamp.com",
 		"https://bandcamp.com",
 		"https://cdn.embedly.com",
 		"https://cdn.embedly.com",
+		"https://player.bilibili.com",
 	}
 	}
 
 
 	// allow iframe from same origin
 	// allow iframe from same origin