]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
also for new default tpl add meta tag to block sending the referrer vintage -> #692
authorMark Schmitz <kramred@gmail.com>
Thu, 7 Jun 2018 13:23:41 +0000 (14:23 +0100)
committerMark Schmitz <kramred@gmail.com>
Thu, 7 Jun 2018 13:23:41 +0000 (14:23 +0100)
.gitignore
tpl/default/includes.html

index 414ff6d51c9ab85374ba527ee8f3d561915d8ab7..170030ee66d9c827fe53be6ab1068b7eade6fad8 100644 (file)
@@ -9,6 +9,11 @@ pagecache
 .buildpath
 .project
 
+# macOS General
+.DS_Store
+.AppleDouble
+.LSOverride
+
 # Raintpl generated pages
 *.rtpl.php
 
index 34e0ff017dcd34fe41a2a0b18a1a8dc22d243a20..5ccacaafb82d1dada9c27a1ea7fac317e267e2b4 100644 (file)
@@ -2,6 +2,7 @@
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <meta name="format-detection" content="telephone=no" />
 <meta name="viewport" content="width=device-width, initial-scale=1">
+<meta name="referrer" content="same-origin">
 <link rel="alternate" type="application/atom+xml" href="{$feedurl}?do=atom{$searchcrits}#" title="ATOM Feed" />
 <link rel="alternate" type="application/rss+xml" href="{$feedurl}?do=rss{$searchcrits}#" title="RSS Feed" />
 <link href="img/favicon.png" rel="shortcut icon" type="image/png" />