Skip to content

Ruby3: Fix escaped HTML tags on SSH key profile view

Peter Leitzen requested to merge pl-fix-html-escape-views-profile-keys into master

What does this MR do and why?

Fixes a typebug in Ruby 3 only. This is not broken in Ruby2!

See #374074 (closed) and https://gitlab.com/gitlab-org/gitlab/-/jobs/3036004478.

Screenshots or screen recordings

Before After
Screenshot_from_2022-09-16_10-57-25 Screenshot_from_2022-09-16_10-58-43

How to set up and validate locally

asdf local ruby 3.0.4
bin/rspec ./spec/views/profiles/keys/_key.html.haml_spec.rb

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Peter Leitzen

Merge request reports