mirror of
https://github.com/mastodon/mastodon.git
synced 2025-01-06 10:25:09 +01:00
Fix insufficient sanitization of report comments
This commit is contained in:
parent
e2009ced3a
commit
b27f50da5a
@ -92,7 +92,7 @@
|
|||||||
%hr.spacer
|
%hr.spacer
|
||||||
|
|
||||||
.speech-bubble
|
.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
|
.speech-bubble__owner
|
||||||
- if @report.account.local?
|
- if @report.account.local?
|
||||||
= admin_account_link_to @report.account
|
= admin_account_link_to @report.account
|
||||||
|
Loading…
Reference in New Issue
Block a user