##// END OF EJS Templates
security: use no-referrer for outside link to stop leaking potential parameters such...
ergo -
r2039:5a2a7c7a default
parent child Browse files
Show More
@@ -28,6 +28,13 b" c.template_context['default_user'] = {"
28 <link rel="import" href="${h.asset('js/rhodecode-components.html', ver=c.rhodecode_version_hash)}">
28 <link rel="import" href="${h.asset('js/rhodecode-components.html', ver=c.rhodecode_version_hash)}">
29 <title>${self.title()}</title>
29 <title>${self.title()}</title>
30 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
30 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
31
32 % if 'safari' in request.user_agent.lower():
33 <meta name="referrer" content="origin">
34 % else:
35 <meta name="referrer" content="origin-when-cross-origin">
36 % endif
37
31 <%def name="robots()">
38 <%def name="robots()">
32 <meta name="robots" content="index, nofollow"/>
39 <meta name="robots" content="index, nofollow"/>
33 </%def>
40 </%def>
General Comments 0
You need to be logged in to leave comments. Login now