Skip to content
Snippets Groups Projects
Commit e8c8feb4 authored by Douwe Maan's avatar Douwe Maan
Browse files

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
parents b05cc8bc 983a102b
No related branches found
No related tags found
No related merge requests found
Pipeline #
Loading
@@ -3,6 +3,7 @@
Loading
@@ -3,6 +3,7 @@
%meta{charset: "utf-8"} %meta{charset: "utf-8"}
%meta{'http-equiv' => 'X-UA-Compatible', content: 'IE=edge'} %meta{'http-equiv' => 'X-UA-Compatible', content: 'IE=edge'}
%meta{content: "GitLab Community Edition", name: "description"} %meta{content: "GitLab Community Edition", name: "description"}
%meta{name: 'referrer', content: 'origin'}
   
%title= page_title %title= page_title
   
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment