Repository navigation
Commit f7bcc80
committed
CSP: allow blob: in frame-src so the in-app PDF viewer renders
The file viewer renders PDFs in an iframe backed by a client-side blob: URL
(also used for decrypted Zero-Knowledge files). frame-src lacked blob:, so the
browser blocked the PDF frame. img-src/media-src already allowed blob:.1 parent c7e7bbf commit f7bcc80
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | | - | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
0 commit comments