diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2018-06-28 15:25:49 +0100 |
---|---|---|
committer | Mayra Cabrera <mcabrera@gitlab.com> | 2018-07-06 08:55:24 -0500 |
commit | 0e7aa236c8c8143770b6602fa99cb4197c65fe70 (patch) | |
tree | d87011605bb07678f94b8abd9f27aecc2cb8f2c8 /spec/javascripts/pipelines/graph/mock_data.js | |
parent | 26998c68c936f183ead1a84e404a61160fc646f7 (diff) | |
download | gitlab-ce-0e7aa236c8c8143770b6602fa99cb4197c65fe70.tar.gz |
Escapes job name used in tooltips in vue components
Use sanitize to strip src attributes
Changes sidebar back to use sanitize
Diffstat (limited to 'spec/javascripts/pipelines/graph/mock_data.js')
-rw-r--r-- | spec/javascripts/pipelines/graph/mock_data.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/pipelines/graph/mock_data.js b/spec/javascripts/pipelines/graph/mock_data.js index 9e25a4b3fed..5b7a09a682d 100644 --- a/spec/javascripts/pipelines/graph/mock_data.js +++ b/spec/javascripts/pipelines/graph/mock_data.js @@ -91,7 +91,7 @@ export default { dropdown_path: '/root/ci-mock/pipelines/123/stage.json?stage=test', }, { - name: 'deploy', + name: 'deploy <img src=x onerror=alert(document.domain)>', title: 'deploy: passed', groups: [ { |