Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-09-09 11:59:26 +0300
committerDouwe Maan <douwe@gitlab.com>2015-09-09 11:59:26 +0300
commite8c8feb4b3235e5f5c2001c04e44f118965b3768 (patch)
treedf42a584516ab3b645d904f869a1f86218c6940f /app/views
parentb05cc8bc9aa5200a0fe3d2ce0afe18485a0aded5 (diff)
parent983a102bd028bf7a6335b6674059eb004d4171f3 (diff)
Merge branch 'add-meta-referrer-tag' into 'master'
Add meta tag for referrer https://gitlab.zendesk.com/agent/tickets/7054 Added a meta referrer tag, so that only the origin is sent to third party sites, instead of the entire URL, thus avoiding the leak of sensitive information like password reset tokens. /cc @DouweM See merge request !1263
Diffstat (limited to 'app/views')
-rw-r--r--app/views/layouts/_head.html.haml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/layouts/_head.html.haml b/app/views/layouts/_head.html.haml
index 397649dacf8..c3b137e3ddf 100644
--- a/app/views/layouts/_head.html.haml
+++ b/app/views/layouts/_head.html.haml
@@ -3,6 +3,7 @@
%meta{charset: "utf-8"}
%meta{'http-equiv' => 'X-UA-Compatible', content: 'IE=edge'}
%meta{content: "GitLab Community Edition", name: "description"}
+ %meta{name: 'referrer', content: 'origin'}
%title= page_title