diff options
author | Mike Greiling <mike@pixelcog.com> | 2018-05-26 00:20:49 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2018-05-30 13:23:59 +0300 |
commit | 5403fd7c9864f382f567bb752f5c75063c79fef8 (patch) | |
tree | 9f415fa3638ae964aafb0ef2f6d99dd53f4f6663 /app | |
parent | 68dd2f677a0f38b46f7907e4461c834aea47629e (diff) |
Merge branch 'winh-new-merge-request-encoding' into 'master'
Fix encoding of branch names on compare and new merge request page
Closes #46627
See merge request gitlab-org/gitlab-ce!19143
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/compare_autocomplete.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/compare_autocomplete.js b/app/assets/javascripts/compare_autocomplete.js index 9c88466e576..15cdc751570 100644 --- a/app/assets/javascripts/compare_autocomplete.js +++ b/app/assets/javascripts/compare_autocomplete.js @@ -54,7 +54,7 @@ export default function initCompareAutocomplete(limitTo = null, clickHandler = ( .attr('href', '#') .addClass(ref === selected ? 'is-active' : '') .text(ref) - .attr('data-ref', escape(ref)); + .attr('data-ref', ref); return $('<li />').append(link); } }, |