mirror of
https://github.com/bitwarden/server
synced 2025-12-12 22:33:45 +00:00
allow blobs in object-src CSP
This commit is contained in:
@@ -10,7 +10,8 @@ namespace Bit.Setup
|
|||||||
"default-src 'self'; style-src 'self' 'unsafe-inline'; " +
|
"default-src 'self'; style-src 'self' 'unsafe-inline'; " +
|
||||||
"img-src 'self' data: https://haveibeenpwned.com https://www.gravatar.com; " +
|
"img-src 'self' data: https://haveibeenpwned.com https://www.gravatar.com; " +
|
||||||
"child-src 'self' https://*.duosecurity.com; frame-src 'self' https://*.duosecurity.com; " +
|
"child-src 'self' https://*.duosecurity.com; frame-src 'self' https://*.duosecurity.com; " +
|
||||||
"connect-src 'self' wss://{0} https://haveibeenpwned.com https://api.pwnedpasswords.com;";
|
"connect-src 'self' wss://{0} https://haveibeenpwned.com https://api.pwnedpasswords.com; " +
|
||||||
|
"object-src 'self' blob:;";
|
||||||
|
|
||||||
private readonly Context _context;
|
private readonly Context _context;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user