Skip to content

Remove v-html from mr_widget_pipeline.vue

What does this MR do?

This MR replaces v-html with v-safe-html in app/assets/javascripts/vue_merge_request_widget/components/mr_widget_pipeline.vue.

Related to #299982 (closed)

How to test

  1. Go to a project with CI/CD
  2. Create a merge request
  3. See the Pipeline #n ... box
  4. See that the branch name after the "on" keyword is rendered correctly

Screenshots (strongly suggested)

Before After
image image

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team
Edited by Kev

Merge request reports