summaryrefslogtreecommitdiff
path: root/app/Controller/Base.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-02-14 16:30:32 -0500
committerFrederic Guillot <fred@kanboard.net>2015-02-14 16:30:57 -0500
commit35382583dbd0fd9920bc9df1f04363b12fcec657 (patch)
treeaff38f8fd289d0b1157a8d2e0657d551cda51607 /app/Controller/Base.php
parent5fd4e290c5e0cc4e721a2c68489529831882f435 (diff)
Allow remote images for markdown content
Diffstat (limited to 'app/Controller/Base.php')
-rw-r--r--app/Controller/Base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/Base.php b/app/Controller/Base.php
index f7ebdbab..548fdb40 100644
--- a/app/Controller/Base.php
+++ b/app/Controller/Base.php
@@ -143,7 +143,7 @@ abstract class Base
private function sendHeaders($action)
{
// HTTP secure headers
- $this->response->csp(array('style-src' => "'self' 'unsafe-inline'", 'img-src' => "'self' data:"));
+ $this->response->csp(array('style-src' => "'self' 'unsafe-inline'", 'img-src' => '*'));
$this->response->nosniff();
$this->response->xss();