diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-07-07 19:37:19 -0300 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-07-07 19:37:19 -0300 |
commit | 7a64053cb818931e38af8c9138a259a711ea4da7 (patch) | |
tree | a4f159b458af4fea8cfde1e192d258cf516defa7 /app/Controller | |
parent | 9f93407b5e7d2bb0827fb638e68d0d6a8b7ae6ca (diff) |
Improve javascript code and remove CSP errors
Diffstat (limited to 'app/Controller')
-rw-r--r-- | app/Controller/Base.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/Base.php b/app/Controller/Base.php index 25a72f15..8890db4c 100644 --- a/app/Controller/Base.php +++ b/app/Controller/Base.php @@ -107,7 +107,7 @@ abstract class Base $this->session->open(BASE_URL_DIRECTORY, SESSION_SAVE_PATH); // HTTP secure headers - $this->response->csp(); + $this->response->csp(array('style-src' => "'self' 'unsafe-inline'")); $this->response->nosniff(); $this->response->xss(); $this->response->hsts(); |