diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2020-09-30 22:12:08 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-30 22:12:08 +0300 |
commit | 0e22ca25669d146812e2bbfb5edb22c9dc0ecc18 (patch) | |
tree | 6165040d78d7b8b51d43ed16c5b0ed06b5922a17 /js/piwik.js | |
parent | 2b0de42c11c064a982498dbcd60850ea51549de3 (diff) |
Fix percent symbol fails JavaScript Matomo code (#16469)
Diffstat (limited to 'js/piwik.js')
-rw-r--r-- | js/piwik.js | 2 |
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) |