Allow remote images for markdown content
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
namespace Controller;
|
||||
|
||||
use Model\Project as ProjectModel;
|
||||
use Model\Task as TaskModel;
|
||||
|
||||
/**
|
||||
* Task controller
|
||||
|
||||
Reference in New Issue
Block a user