aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/templates
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-09-20 18:31:49 -0700
committerBryan Newbold <bnewbold@archive.org>2021-09-20 18:31:49 -0700
commit538ca35c24176fc7837a85c28ffb406c8050b013 (patch)
treefdb81751d3c266fe96cec858136bda37f026db93 /fatcat_scholar/templates
parent39d3fecbd6446223a3b9138cf601861fcb964f32 (diff)
downloadfatcat-scholar-538ca35c24176fc7837a85c28ffb406c8050b013.tar.gz
fatcat-scholar-538ca35c24176fc7837a85c28ffb406c8050b013.zip
HTML: more strict referrer policy
Diffstat (limited to 'fatcat_scholar/templates')
-rw-r--r--fatcat_scholar/templates/base.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/fatcat_scholar/templates/base.html b/fatcat_scholar/templates/base.html
index 8167c86..1bd7b9e 100644
--- a/fatcat_scholar/templates/base.html
+++ b/fatcat_scholar/templates/base.html
@@ -3,7 +3,8 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="referrer" content="origin-when-cross-origin">
+ {# the 'no-referrer' here is for old browsers #}
+ <meta name="referrer" content="no-referrer, strict-origin-when-cross-origin">
{% if settings.ONION_DOMAIN %}
<meta http-equiv="onion-location" content="//{{ settings.ONION_DOMAIN }}">
{%- endif %}