From dccc2a84355149c702dbd2db7e560d38b0e05c01 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 7 Aug 2016 13:52:57 +0200 Subject: meta referrer origin https://github.com/FreshRSS/FreshRSS/issues/955 Tested in Firefox 48, Chrome 53, Edge 25 --- app/layout/layout.phtml | 2 ++ data/config.default.php | 3 +++ 2 files changed, 5 insertions(+) diff --git a/app/layout/layout.phtml b/app/layout/layout.phtml index 6906fa05f..7fdc01241 100644 --- a/app/layout/layout.phtml +++ b/app/layout/layout.phtml @@ -41,6 +41,8 @@ $url_rss['a'] = 'rss'; ?> +allow_referrer) { ?> + allow_robots) { ?> diff --git a/data/config.default.php b/data/config.default.php index be3fa8ae2..af1482d03 100644 --- a/data/config.default.php +++ b/data/config.default.php @@ -66,6 +66,9 @@ return array( # Allow or not Web robots (e.g. search engines) in HTML headers. 'allow_robots' => false, + # If true does nothing, if false restricts HTTP Referer via: meta referrer origin + 'allow_referrer' => false, + 'limits' => array( # Duration in seconds of the SimplePie cache, -- cgit v1.2.3