summaryrefslogtreecommitdiff
path: root/app/Controller
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-08-23 10:47:12 -0400
committerFrederic Guillot <fred@kanboard.net>2015-08-23 10:47:12 -0400
commitdd239ddb5900fd4e0599f57d834c1aa409bd6d77 (patch)
tree82855b89d7b18c0dfa02b833bc192b4ea3c6a25c /app/Controller
parentb944b44dcadfdf2958bf3b4a943c751a7091f7ac (diff)
Make screenshot feature compatible with Firefox 40
Diffstat (limited to 'app/Controller')
-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 bfcbfd2a..480976b0 100644
--- a/app/Controller/Base.php
+++ b/app/Controller/Base.php
@@ -80,7 +80,7 @@ abstract class Base extends \Core\Base
private function sendHeaders($action)
{
// HTTP secure headers
- $this->response->csp(array('style-src' => "'self' 'unsafe-inline'", 'img-src' => '*'));
+ $this->response->csp(array('style-src' => "'self' 'unsafe-inline'", 'img-src' => '* data:'));
$this->response->nosniff();
$this->response->xss();