mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
do not filter chat message content with xss-middleware
This commit is contained in:
parent
6acdde177f
commit
256bcc2af7
@ -3,7 +3,7 @@ import { cleanHtml } from '../middleware/helpers/cleanHtml'
|
||||
|
||||
// exclamation mark separetes field names, that should not be sanitized
|
||||
const fields = [
|
||||
'content',
|
||||
'content!message',
|
||||
'contentExcerpt',
|
||||
'reasonDescription',
|
||||
'description!embed',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user