aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/includes.html
diff options
context:
space:
mode:
authorFelix Kästner <github.com-fpunktk@fpunktk.de>2016-11-16 14:57:44 +0100
committerfpunktk <git@fpunktk.de>2016-11-21 22:54:03 +0100
commit1ef05d3601e942eba74bd66554d629be2fa05efe (patch)
treead9d9fee0a0d878a98b9758f74eee2790bd9e1a5 /tpl/includes.html
parent8185e864a2c4dbf1a23c27e71100b377b2b9230d (diff)
downloadShaarli-1ef05d3601e942eba74bd66554d629be2fa05efe.tar.gz
Shaarli-1ef05d3601e942eba74bd66554d629be2fa05efe.tar.zst
Shaarli-1ef05d3601e942eba74bd66554d629be2fa05efe.zip
Add meta tag to block sending the referrer
Add a meta tag that tells the browser not to send the referrer header to external sites.
Diffstat (limited to 'tpl/includes.html')
-rw-r--r--tpl/includes.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/tpl/includes.html b/tpl/includes.html
index f94ce1be..7b2997ce 100644
--- a/tpl/includes.html
+++ b/tpl/includes.html
@@ -2,6 +2,7 @@
2<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 2<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
3<meta name="format-detection" content="telephone=no" /> 3<meta name="format-detection" content="telephone=no" />
4<meta name="viewport" content="width=device-width,initial-scale=1.0" /> 4<meta name="viewport" content="width=device-width,initial-scale=1.0" />
5<meta name="referrer" content="same-origin">
5<link rel="alternate" type="application/rss+xml" href="{$feedurl}?do=rss{$searchcrits}#" title="RSS Feed" /> 6<link rel="alternate" type="application/rss+xml" href="{$feedurl}?do=rss{$searchcrits}#" title="RSS Feed" />
6<link rel="alternate" type="application/atom+xml" href="{$feedurl}?do=atom{$searchcrits}#" title="ATOM Feed" /> 7<link rel="alternate" type="application/atom+xml" href="{$feedurl}?do=atom{$searchcrits}#" title="ATOM Feed" />
7<link href="images/favicon.ico#" rel="shortcut icon" type="image/x-icon" /> 8<link href="images/favicon.ico#" rel="shortcut icon" type="image/x-icon" />
@@ -11,4 +12,4 @@
11{loop="$plugins_includes.css_files"} 12{loop="$plugins_includes.css_files"}
12<link type="text/css" rel="stylesheet" href="{$value}#"/> 13<link type="text/css" rel="stylesheet" href="{$value}#"/>
13{/loop} 14{/loop}
14<link rel="search" type="application/opensearchdescription+xml" href="?do=opensearch#" title="Shaarli search - {$shaarlititle|htmlspecialchars}"/> \ No newline at end of file 15<link rel="search" type="application/opensearchdescription+xml" href="?do=opensearch#" title="Shaarli search - {$shaarlititle|htmlspecialchars}"/>