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-04-15 00:17:12 +0300
committerThomas Steur <tsteur@users.noreply.github.com>2019-04-15 00:17:12 +0300
commit022ee7e35c21d9d0de537bc8e8f16eaee2019ce0 (patch)
treea7af6da86684cbc9770825db975aa0628a129c60
parent4d483e95cf794a4916352ea96642ec68d9d03277 (diff)
segment is already encoded, so decode it before $httpParamSerializerJQLike encodes it for the URL. (#14338)
-rw-r--r--plugins/CoreHome/angularjs/report-export/reportexport.directive.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreHome/angularjs/report-export/reportexport.directive.js b/plugins/CoreHome/angularjs/report-export/reportexport.directive.js
index 55cb385b8f..c197ce07eb 100644
--- a/plugins/CoreHome/angularjs/report-export/reportexport.directive.js
+++ b/plugins/CoreHome/angularjs/report-export/reportexport.directive.js
@@ -141,7 +141,7 @@
exportUrlParams.language = piwik.language;
}
if (typeof segment != 'undefined') {
- exportUrlParams.segment = segment;
+ exportUrlParams.segment = decodeURIComponent(segment);
}
// Export Goals specific reports
if (typeof idGoal != 'undefined'