diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-05-14 09:29:06 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-05-14 09:29:06 +0400 |
commit | dd74312d66e265e92b8333fb1d29a99fee2140ad (patch) | |
tree | fdc21e0fa2bd5b5909cf68483b7fffe6df69a2f0 /misc | |
parent | 0c7e47545b099dd454419ef0dda6202df1c1634f (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')
-rw-r--r-- | misc/proxy-hide-piwik-url/piwik.php | 2 |
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) { |