Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2014-05-14 09:29:06 +0400
committermattab <matthieu.aubry@gmail.com>2014-05-14 09:29:06 +0400
commitdd74312d66e265e92b8333fb1d29a99fee2140ad (patch)
treefdc21e0fa2bd5b5909cf68483b7fffe6df69a2f0 /misc/proxy-hide-piwik-url
parent0c7e47545b099dd454419ef0dda6202df1c1634f (diff)
Refs #4831 I could not reproduce this bug. So maybe it is because Magic quotes runtime was on on your server running the proxy script?
could you please try to apply this patch to your piwik.php on proxy and tell me if you still have the issue?
Diffstat (limited to 'misc/proxy-hide-piwik-url')
-rw-r--r--misc/proxy-hide-piwik-url/piwik.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/proxy-hide-piwik-url/piwik.php b/misc/proxy-hide-piwik-url/piwik.php
index 785c145dae..1ebbf5d9b1 100644
--- a/misc/proxy-hide-piwik-url/piwik.php
+++ b/misc/proxy-hide-piwik-url/piwik.php
@@ -58,6 +58,8 @@ if (empty($_GET)) {
exit;
}
+@ini_set('magic_quotes_runtime', 0);
+
// 2) PIWIK.PHP PROXY: GET parameters found, this is a tracking request, we redirect it to Piwik
$url = sprintf("%spiwik.php?cip=%s&token_auth=%s&", $PIWIK_URL, @$_SERVER['REMOTE_ADDR'], $TOKEN_AUTH);
foreach ($_GET as $key => $value) {