-
- Downloads
Fix requests profiler in admin page not rendering HTML properly
By default in Rails 5, content passed to `render` will be escaped. This doesn't work for the HTML profile output, which should be considered safe HTML already. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56152
Showing
- app/controllers/admin/requests_profiles_controller.rb 1 addition, 1 deletionapp/controllers/admin/requests_profiles_controller.rb
- changelogs/unreleased/sh-fix-request-profiles-html.yml 5 additions, 0 deletionschangelogs/unreleased/sh-fix-request-profiles-html.yml
- spec/controllers/admin/requests_profiles_controller_spec.rb 47 additions, 0 deletionsspec/controllers/admin/requests_profiles_controller_spec.rb
Please register or sign in to comment