Commit e676697
authored
fix(jcasc): replace invalid CSP header attribute with enforce flag (#2187)
The CspConfiguration JCasc binding only supports `advanced` and
`enforce` attributes. The `header` key caused an UnknownAttributesException
on startup, crashing the JCasc reload and leaving Jenkins unconfigured.
Signed-off-by: Bruno Verachten <gounthar@gmail.com>1 parent ac1c42d commit e676697
1 file changed
Lines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 44 | + | |
51 | 45 | | |
52 | 46 | | |
53 | 47 | | |
0 commit comments