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:
authorThomas Steur <tsteur@users.noreply.github.com>2020-09-30 22:12:08 +0300
committerGitHub <noreply@github.com>2020-09-30 22:12:08 +0300
commit0e22ca25669d146812e2bbfb5edb22c9dc0ecc18 (patch)
tree6165040d78d7b8b51d43ed16c5b0ed06b5922a17 /js/piwik.js
parent2b0de42c11c064a982498dbcd60850ea51549de3 (diff)
Fix percent symbol fails JavaScript Matomo code (#16469)
Diffstat (limited to 'js/piwik.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 894400c54a..b6b16b20e5 100644
--- a/js/piwik.js
+++ b/js/piwik.js
@@ -701,7 +701,7 @@ if (typeof window.Matomo !== 'object') {
var regexSearch = "[\\?&#]" + name + "=([^&#]*)";
var regex = new RegExp(regexSearch);
var results = regex.exec(url);
- return results ? decodeWrapper(results[1]) : '';
+ return results ? safeDecodeWrapper(results[1]) : '';
}
function trim(text)