add data: to allowed image domains
This commit is contained in:
parent
475adcf6ea
commit
ead25de628
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ class ContentSecurityPolicy {
|
||||||
/** @var array Domains from which images can get loaded */
|
/** @var array Domains from which images can get loaded */
|
||||||
private $allowedImageDomains = [
|
private $allowedImageDomains = [
|
||||||
'\'self\'',
|
'\'self\'',
|
||||||
|
'data:',
|
||||||
];
|
];
|
||||||
/** @var array Domains to which connections can be done */
|
/** @var array Domains to which connections can be done */
|
||||||
private $allowedConnectDomains = [
|
private $allowedConnectDomains = [
|
||||||
|
|
Loading…
Reference in a new issue