diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-09-20 18:31:49 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-09-20 18:31:49 -0700 |
commit | 538ca35c24176fc7837a85c28ffb406c8050b013 (patch) | |
tree | fdb81751d3c266fe96cec858136bda37f026db93 | |
parent | 39d3fecbd6446223a3b9138cf601861fcb964f32 (diff) | |
download | fatcat-scholar-538ca35c24176fc7837a85c28ffb406c8050b013.tar.gz fatcat-scholar-538ca35c24176fc7837a85c28ffb406c8050b013.zip |
HTML: more strict referrer policy
-rw-r--r-- | fatcat_scholar/templates/base.html | 3 |
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 %} |