Browse Source

Fix insufficient sanitization of report comments

cs+3.4.6
Claire 2 years ago
parent
commit
b27f50da5a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/views/admin/reports/show.html.haml

+ 1
- 1
app/views/admin/reports/show.html.haml View File

@ -92,7 +92,7 @@
%hr.spacer
.speech-bubble
.speech-bubble__bubble= simple_format(@report.comment.presence || t('admin.reports.comment.none'))
.speech-bubble__bubble= simple_format(h(@report.comment.presence || t('admin.reports.comment.none')))
.speech-bubble__owner
- if @report.account.local?
= admin_account_link_to @report.account

Loading…
Cancel
Save