Commit 97d6f87
authored
fix(jcasc): use correct CspConfiguration attributes for CSP (#2186)
CspConfiguration only accepts 'enforce' and 'advanced' — not 'header'.
The 'header' attribute caused a fatal UnknownAttributesException at
startup. Replace with enforce: true to enable CSP with Jenkins'
default built-in policy.
Signed-off-by: Bruno Verachten <gounthar@gmail.com>1 parent 68fa6d1 commit 97d6f87
1 file changed
Lines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
| 45 | + | |
52 | 46 | | |
53 | 47 | | |
54 | 48 | | |
0 commit comments