Add P3P headers to avoid potential issues with IE

This commit is contained in:
Frederic Guillot
2016-11-09 19:11:51 -05:00
parent d261f4146d
commit 544da3150a
2 changed files with 13 additions and 0 deletions

View File

@@ -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();