aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-11-12 22:50:58 -0800
committerBryan Newbold <bnewbold@robocracy.org>2018-11-12 22:51:05 -0800
commit6828313ecf2fea06e500f447f3abb92e5651c1fa (patch)
tree56e7e5f777e759cebb019dce48c6023d2c7ce269 /python
parenta0222d1e707fdb86f8c6dc5cd1cf9e8846e40eb5 (diff)
downloadfatcat-6828313ecf2fea06e500f447f3abb92e5651c1fa.tar.gz
fatcat-6828313ecf2fea06e500f447f3abb92e5651c1fa.zip
set HTTPS referrer policy in HTML <meta>
The intent of this change is for user agents to set the Referrer HTTP field when following outlinks from fatcat.wiki, but only with the source domain, not the full URL.
Diffstat (limited to 'python')
-rw-r--r--python/fatcat/templates/base.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/fatcat/templates/base.html b/python/fatcat/templates/base.html
index 670d854f..856a6e03 100644
--- a/python/fatcat/templates/base.html
+++ b/python/fatcat/templates/base.html
@@ -5,6 +5,7 @@
<meta name="viewport" content="width=device-width">
<title>{% block title %}fatcat!{% endblock %}</title>
+ <meta name="referrer" content="origin-when-cross-origin">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/semantic-ui@2.3.2/dist/semantic.min.css">
<script