Skip to content

Commit

Permalink
Add Referrer-Policy header
Browse files Browse the repository at this point in the history
  • Loading branch information
gapple committed Jun 19, 2017
1 parent 59c847a commit ca53a32
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app.php
Expand Up @@ -25,6 +25,10 @@
"connect-src 'self' www.drupal.org www.google-analytics.com;" .
"report-uri https://gapple.report-uri.io/r/default/csp/enforce;"
);
$response->headers->set(
'Referrer-Policy',
'no-referrer-when-downgrade'
);
}
});

Expand Down

0 comments on commit ca53a32

Please sign in to comment.