Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-05-12 11:27:21 +0300
committerPhil Hughes <me@iamphill.com>2017-05-12 11:27:21 +0300
commit477be05661d2cd3a550510f898d8d1d222d1598f (patch)
treef430ed67c08b1e06041fc0f6f37a51daaa6660fd /app/assets/javascripts/lib
parent2ac27a96b86738bd272e434d7f82c5faf8bb578c (diff)
Fixed issue boards not filtering when URL params are encoded
Closes #32084
Diffstat (limited to 'app/assets/javascripts/lib')
-rw-r--r--app/assets/javascripts/lib/utils/common_utils.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/lib/utils/common_utils.js b/app/assets/javascripts/lib/utils/common_utils.js
index 2f682fbd2fb..2eab6f975bb 100644
--- a/app/assets/javascripts/lib/utils/common_utils.js
+++ b/app/assets/javascripts/lib/utils/common_utils.js
@@ -135,7 +135,7 @@
gl.utils.getUrlParamsArray = function () {
// We can trust that each param has one & since values containing & will be encoded
// Remove the first character of search as it is always ?
- return window.location.search.slice(1).split('&');
+ return window.location.search.slice(1).split('&').map(param => decodeURI(param));
};
gl.utils.isMetaKey = function(e) {