diff options
author | Phil Hughes <me@iamphill.com> | 2017-05-12 11:27:21 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-05-12 11:27:21 +0300 |
commit | 477be05661d2cd3a550510f898d8d1d222d1598f (patch) | |
tree | f430ed67c08b1e06041fc0f6f37a51daaa6660fd /app/assets/javascripts/lib | |
parent | 2ac27a96b86738bd272e434d7f82c5faf8bb578c (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.js | 2 |
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) { |