Skip to content

Commit 83006ae

Browse files
committed
Add referrer meta header
Could probably get away with `unsafe-url`, but out of paranoia I'll go with `origin-when-cross-origin` for now. http://w3c.github.io/webappsec/specs/referrer-policy/#referrer-policy-state-origin-when-cross-origin http://w3c.github.io/webappsec/specs/referrer-policy/#referrer-policy-delivery
1 parent 9734fd1 commit 83006ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/views/fragments/head.scala.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<head>
22
<title>submitGit</title>
33
<meta name="viewport" content="width=device-width, initial-scale=1">
4+
<meta name="referrer" content="origin-when-cross-origin">
45
<link rel="stylesheet" media="screen" href="@routes.Assets.at("lib/bootstrap/css/bootstrap.min.css")" />
56
<script type="text/javascript" src="@routes.Assets.at("lib/jquery/jquery.js")"></script>
67
<script type="text/javascript" src="@routes.Assets.at("lib/bootstrap/js/bootstrap.min.js")"></script>

0 commit comments

Comments
 (0)