discourse/plugins/chat/app/controllers
Martin Brennan 3de765c895
SECURITY: Limit chat message char length (#19207)
Only allow maximum of 6000 characters for chat messages when they
are created or edited. A hidden setting can control this limit,
6000 is the default.

There is also a migration here to truncate any existing messages to
6000 characters if the message is already over that and if the
chat_messages table exists. We also set cooked_version to NULL
for those messages so we can identify them for rebake.
2022-11-28 10:48:30 +10:00
..
admin
api
api_controller.rb
chat_base_controller.rb
chat_channels_controller.rb
chat_controller.rb FIX: Automatically generate category channel slugs (#18879) 2022-11-09 10:28:31 +10:00
direct_messages_controller.rb
emojis_controller.rb
incoming_chat_webhooks_controller.rb SECURITY: Limit chat message char length (#19207) 2022-11-28 10:48:30 +10:00