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
path: root/js
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@googlemail.com>2014-09-15 14:08:47 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-09-15 14:08:47 +0400
commit566cdbd91d0ef299df5fc31ea278bf3614b18916 (patch)
treeeb51683ab2928f7e769ab4dd281eab992e5ee6ff /js
parentb03f7c82734b3a0121a7aa10128f4baa8ed5d8f9 (diff)
refs #4996 tests should now work in case Piwik is installed in a subdirectory although could not really test it. Also encode redirect uri
Diffstat (limited to 'js')
-rw-r--r--js/piwik.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/piwik.js b/js/piwik.js
index 60e2913769..adb95ef11b 100644
--- a/js/piwik.js
+++ b/js/piwik.js
@@ -3197,7 +3197,7 @@ if (typeof Piwik !== 'object') {
}
var redirectUrl = content.toAbsoluteUrl(url);
- var request = 'redirecturl=' + redirectUrl + '&';
+ var request = 'redirecturl=' + encodeWrapper(redirectUrl) + '&';
request += buildContentInteractionRequest(contentInteraction, contentName, contentPiece, (contentTarget || url));
var separator = '&';