mirror of
https://github.com/bitwarden/server.git
synced 2025-04-17 19:18:16 -05:00
allow blobs in object-src CSP
This commit is contained in:
parent
dc3e083bf0
commit
32f686cba6
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user