summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorsualko <klaus@jsxc.org>2015-08-05 11:41:25 +0200
committersualko <klaus@jsxc.org>2015-08-05 11:41:25 +0200
commitead25de6282a1d8a6b78497a03187090ead9017b (patch)
tree71c9c656c8bebe6e2503e2c64b166704c33143ea /lib/public
parent475adcf6ea8f9227068a96400938fecb4791ad70 (diff)
downloadnextcloud-server-ead25de6282a1d8a6b78497a03187090ead9017b.tar.gz
nextcloud-server-ead25de6282a1d8a6b78497a03187090ead9017b.zip
add data: to allowed image domains
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/appframework/http/contentsecuritypolicy.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/public/appframework/http/contentsecuritypolicy.php b/lib/public/appframework/http/contentsecuritypolicy.php
index 9c7218dc8ba..ee36f7aac17 100644
--- a/lib/public/appframework/http/contentsecuritypolicy.php
+++ b/lib/public/appframework/http/contentsecuritypolicy.php
@@ -63,6 +63,7 @@ class ContentSecurityPolicy {
/** @var array Domains from which images can get loaded */
private $allowedImageDomains = [
'\'self\'',
+ 'data:',
];
/** @var array Domains to which connections can be done */
private $allowedConnectDomains = [