Skip to content

Replace v-html with GlSprintf in memory_usage.vue

Kev requested to merge KevSlashNull/gitlab:241968-Replace-v-html into master

What does this MR do?

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

Relates to #241968 (closed).

Steps to test

  1. Create/go to a Merge Request that tracks memory usage
  2. Check that the message "Memory usage decreased..." is rendered properly with links and the bold "decreased/increased/unchanged".

image

Screenshots

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