Commit ef854625 authored by Nick Thomas's avatar Nick Thomas

Prevent an XSS vector in the add approver email

parent 3b590dbe
......@@ -2,7 +2,7 @@
%div
#{link_to @updated_by.name, user_url(@updated_by)} added you as an approver for:
%p.details
!= merge_path_description(@merge_request, '→')
= merge_path_description(@merge_request, '→')
- if @merge_request.assignees.any?
%p
......
---
title: Prevent an XSS vector in the add approver email
merge_request:
author:
type: security
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment