Commit f1e6f23
committed
feat: enhance CSP policies for stricter script handling
- Added `'wasm-unsafe-eval'` and `'unsafe-eval'` to `script-src` for supporting WebAssembly and dynamic evaluations.
- Introduced `script-src-elem` for finer-grained control over script elements.1 parent cb068c7 commit f1e6f23
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| 40 | + | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
| |||
0 commit comments