diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-19 15:08:42 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-19 15:08:42 +0300 |
commit | 0eea37aefa31ed22e32eadbe6164dd92e3c64ec2 (patch) | |
tree | e1ec47e8160c6c36a8ae08ba1d39902be068ef05 /app/assets/javascripts/packages_and_registries | |
parent | 3fbfc0075a306ad85c70c006b978a2e96bd4283a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/packages_and_registries')
-rw-r--r-- | app/assets/javascripts/packages_and_registries/harbor_registry/pages/list.vue | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/packages_and_registries/harbor_registry/pages/list.vue b/app/assets/javascripts/packages_and_registries/harbor_registry/pages/list.vue index 7aaef2ed57a..9c69059c968 100644 --- a/app/assets/javascripts/packages_and_registries/harbor_registry/pages/list.vue +++ b/app/assets/javascripts/packages_and_registries/harbor_registry/pages/list.vue @@ -1,5 +1,6 @@ <script> import { GlEmptyState, GlSprintf, GlLink, GlSkeletonLoader } from '@gitlab/ui'; +import { escape } from 'lodash'; import HarborListHeader from '~/packages_and_registries/harbor_registry/components/list/harbor_list_header.vue'; import PersistedSearch from '~/packages_and_registries/shared/components/persisted_search.vue'; import HarborList from '~/packages_and_registries/harbor_registry/components/list/harbor_list.vue'; @@ -80,7 +81,7 @@ export default { this.sorting = sort; const search = filters.find((i) => i.type === FILTERED_SEARCH_TERM); - this.name = search?.value?.data; + this.name = escape(search?.value?.data); this.fetchHarborImages(); }, |