Skip to content
Extraits de code Groupes Projets
Valider 2f9f6151 rédigé par mattab's avatar mattab
Parcourir les fichiers

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.
parent ae66f00e
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -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
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter