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:
authordiosmosis <diosmosis@users.noreply.github.com>2019-03-19 04:04:22 +0300
committerGitHub <noreply@github.com>2019-03-19 04:04:22 +0300
commitf5d425c42c7b8db165fb7cbca34c6252ebb775ff (patch)
tree5e225ddd8d1e033c61bd349401db2234651e47a0 /plugins/Live
parent94fa2b326b4bf6cea318c4e35f25d829d8b625d4 (diff)
in segmented visitor log segment is already encoded, decode it again when adding as new (#14221)
* segment is already double encoded, decode it again * Remove addSegmentAsNew after apply and save.
Diffstat (limited to 'plugins/Live')
-rw-r--r--plugins/Live/javascripts/visitorLog.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Live/javascripts/visitorLog.js b/plugins/Live/javascripts/visitorLog.js
index 5784504871..4b1e2e0835 100644
--- a/plugins/Live/javascripts/visitorLog.js
+++ b/plugins/Live/javascripts/visitorLog.js
@@ -53,7 +53,7 @@
e.stopPropagation();
var url = window.location.href;
- url = broadcast.updateParamValue('addSegmentAsNew=' + self.param.segment, url);
+ url = broadcast.updateParamValue('addSegmentAsNew=' + decodeURIComponent(self.param.segment), url);
url = broadcast.updateParamValue('segment=', url);
url = broadcast.updateParamValue('popover=', url);