diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/Controller/Base.php | 2 | ||||
-rw-r--r-- | app/Controller/Task.php | 1 |
2 files changed, 1 insertions, 2 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(); diff --git a/app/Controller/Task.php b/app/Controller/Task.php index 0789e8eb..e561d5f7 100644 --- a/app/Controller/Task.php +++ b/app/Controller/Task.php @@ -3,7 +3,6 @@ namespace Controller; use Model\Project as ProjectModel; -use Model\Task as TaskModel; /** * Task controller |