diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-11-09 19:11:51 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-11-09 19:11:51 -0500 |
commit | 544da3150a5085cebd8c043698d607efe873e19f (patch) | |
tree | 0cfc32d5adb1727641e140fee2a658a8427d5393 /app/Middleware | |
parent | d261f4146d3bf2fb069f72067ba0a52e8e13dce3 (diff) |
Add P3P headers to avoid potential issues with IE
Diffstat (limited to 'app/Middleware')
-rw-r--r-- | app/Middleware/BootstrapMiddleware.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Middleware/BootstrapMiddleware.php b/app/Middleware/BootstrapMiddleware.php index 727f600c..778221b3 100644 --- a/app/Middleware/BootstrapMiddleware.php +++ b/app/Middleware/BootstrapMiddleware.php @@ -32,6 +32,7 @@ class BootstrapMiddleware extends BaseMiddleware { $this->response->withContentSecurityPolicy($this->container['cspRules']); $this->response->withSecurityHeaders(); + $this->response->withP3P(); if (ENABLE_XFRAME) { $this->response->withXframe(); |