Authorize data: images in CSP header (#1138)
This commit is contained in:
parent
580c161855
commit
85ad473cd7
|
@ -28,7 +28,7 @@ sub defaultValues {
|
|||
'cspConnect' => '\'self\'',
|
||||
'cspDefault' => '\'self\'',
|
||||
'cspFont' => '\'self\'',
|
||||
'cspImg' => '\'self\'',
|
||||
'cspImg' => '\'self\' data:',
|
||||
'cspScript' => '\'self\'',
|
||||
'cspStyle' => '\'self\'',
|
||||
'dbiAuthnLevel' => 2,
|
||||
|
|
|
@ -813,7 +813,7 @@ qr/(?:(?:https?):\/\/(?:(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.]
|
|||
'type' => 'text'
|
||||
},
|
||||
'cspImg' => {
|
||||
'default' => '\'self\'',
|
||||
'default' => '\'self\' data:',
|
||||
'type' => 'text'
|
||||
},
|
||||
'cspScript' => {
|
||||
|
|
|
@ -467,7 +467,7 @@ sub attributes {
|
|||
},
|
||||
cspImg => {
|
||||
type => 'text',
|
||||
default => "'self'",
|
||||
default => "'self' data:",
|
||||
documentation => 'Image source for Content-Security-Policy',
|
||||
},
|
||||
cspScript => {
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user