Skip to content

Commit

Permalink
Add no-referrer referrer policy to prevent leakage of sensitive info
Browse files Browse the repository at this point in the history
This prevents Referer headers from being sent when requesting any
external assets, and when clicking on any offsite links, such as the
github link in the top-right corner of the page. This helps to prevent
the leakge of sensitive details, such as private domain names.
  • Loading branch information
djmattyg007 committed Feb 23, 2016
1 parent fc52cb6 commit d75e497
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assets/templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="referrer" content="no-referrer">

<link rel="icon" type="image/png" href="images/hog.png">

Expand Down

0 comments on commit d75e497

Please sign in to comment.