diff options
author | Kushal Pandya <kushalspandya@gmail.com> | 2019-01-15 17:22:26 +0300 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2019-01-31 18:52:48 +0300 |
commit | 08c1989b0dcbf41410cd1bfc0fbfa5d79df2aedf (patch) | |
tree | 61d0166b1f3164eff76aeed258eb3eca609d8267 /app/views/notify/merged_merge_request_email.text.haml | |
parent | 35b8f103a87811e0a825773aad3e3d04ee85fa9e (diff) |
Use `sanitize_name` to sanitize URL in user full name
Diffstat (limited to 'app/views/notify/merged_merge_request_email.text.haml')
-rw-r--r-- | app/views/notify/merged_merge_request_email.text.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/notify/merged_merge_request_email.text.haml b/app/views/notify/merged_merge_request_email.text.haml index 661c23bcbe2..045a43cbc84 100644 --- a/app/views/notify/merged_merge_request_email.text.haml +++ b/app/views/notify/merged_merge_request_email.text.haml @@ -4,5 +4,5 @@ Merge Request url: #{project_merge_request_url(@merge_request.target_project, @m = merge_path_description(@merge_request, 'to') -Author: #{@merge_request.author_name} -Assignee: #{@merge_request.assignee_name} +Author: #{sanitize_name(@merge_request.author_name)} +Assignee: #{sanitize_name(@merge_request.assignee_name)} |