diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-02-15 07:40:53 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-02-15 07:40:53 +0400 |
commit | 2f9f61511f071e3b8ec706595660468e22fd5d9a (patch) | |
tree | bafa085e6aee2167175c16a9a18ce575c6eef6a9 /plugins/Proxy | |
parent | ae66f00ea7d1e47749d2019fd13c0287ed66d4ac (diff) |
Fixes #3751
did you mean the message was not clear? hopefully this one is slightly better. But the error is accurate: you are not sending the referer header and this is required for security reasons.
Diffstat (limited to 'plugins/Proxy')
-rw-r--r-- | plugins/Proxy/Controller.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/Proxy/Controller.php b/plugins/Proxy/Controller.php index a687a6634a..5681f6db0d 100644 --- a/plugins/Proxy/Controller.php +++ b/plugins/Proxy/Controller.php @@ -129,8 +129,11 @@ class Piwik_Proxy_Controller extends Piwik_Controller $referrer = Piwik_Url::getReferer(); if(empty($referrer) || !Piwik_Url::isLocalUrl($referrer)) { - die('Invalid Referer detected - check that your browser sends the Referer header. - <br/>The link you would have been redirected to is: '. $url); + die('Invalid Referer detected - This means that your web browser is not sending the "Referer URL" which is + required to proceed with the redirect. Verify your browser settings and add-ons, to check why your browser + is not sending this referer. + + <br/><br/>You can access the page at: '. $url); } // mask visits to *.piwik.org |