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:
authorKate Butler <kate@innocraft.com>2019-09-11 00:49:18 +0300
committerThomas Steur <tsteur@users.noreply.github.com>2019-09-11 00:49:18 +0300
commita1cba093124040a6ea1b9695af9de3293c229723 (patch)
treec14366175eee550149c7717cd33148b375cee2ac
parent180f8c884ca3b794a4b818cb157b3ec74df7d758 (diff)
Stop urlencoding dashboard names before sending to API (#14869)
-rw-r--r--plugins/Dashboard/javascripts/dashboard.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dashboard/javascripts/dashboard.js b/plugins/Dashboard/javascripts/dashboard.js
index e8a2857e53..e839d74c2c 100644
--- a/plugins/Dashboard/javascripts/dashboard.js
+++ b/plugins/Dashboard/javascripts/dashboard.js
@@ -21,7 +21,7 @@ function createDashboard() {
format: 'json'
}, 'get');
ajaxRequest.addParams({
- dashboardName: encodeURIComponent(dashboardName),
+ dashboardName: dashboardName,
addDefaultWidgets: addDefaultWidgets,
login: piwik.userLogin
}, 'post');