diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-28 11:36:01 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-28 11:36:01 +0300 |
commit | f415ebdb978c4eb976d07664219c788918120d59 (patch) | |
tree | e1c4c45aa86e7d3f3da88030b892764fff3bc0ff /app/serializers/build_details_entity.rb | |
parent | 559f55766c23b0593474dcf0c147ee003726e8a0 (diff) |
Add latest changes from gitlab-org/security/gitlab@15-0-stable-eev15.0.5
Diffstat (limited to 'app/serializers/build_details_entity.rb')
-rw-r--r-- | app/serializers/build_details_entity.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/build_details_entity.rb b/app/serializers/build_details_entity.rb index 5f72259f34a..dc7b5e95361 100644 --- a/app/serializers/build_details_entity.rb +++ b/app/serializers/build_details_entity.rb @@ -151,7 +151,7 @@ class BuildDetailsEntity < Ci::JobEntity # We do not return the invalid_dependencies for all scenarios see https://gitlab.com/gitlab-org/gitlab/-/issues/287772#note_914406387 punctuation = invalid_dependencies.empty? ? '.' : ': ' _("This job could not start because it could not retrieve the needed artifacts%{punctuation}%{invalid_dependencies}") % - { invalid_dependencies: invalid_dependencies, punctuation: punctuation } + { invalid_dependencies: html_escape(invalid_dependencies), punctuation: punctuation } end def help_message(docs_url) |