0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-09 21:45:25 +08:00
discourse/plugins/chat/app
discoursebot ff97b964e9
FIX: Validate the length of chat draft data [backport 2026.1] (#41553)
Backport of #41548 to release/2026.1.

---

## Summary

Correctly validate the length of chat draft data at the service contract
layer using the max_chat_draft_length site setting. This ensures that
oversized payloads are rejected early in the request lifecycle before
reaching the model persistence layer.

## Source

- Patch Triage: https://patch.discourse.org/patch-triage/1362

Co-authored-by: discourse-patch-triage
<272280883+discourse-patch-triage[bot]@users.noreply.github.com>

Co-authored-by: Isaac Janzen <50783505+janzenisaac@users.noreply.github.com>
2026-07-08 14:34:58 -05:00
..
controllers/chat SECURITY: Channel member list exposes other users' chat read state and notification settings [backport 2026.1] (#40888) 2026-06-15 11:13:20 -05:00
jobs DEV: Delete dead AutoJoinChannelBatch job 2026-01-28 03:14:32 +00:00
models SECURITY: Harden chat DM channel creation and expansion [backport 2026.1] 2026-03-31 15:12:50 +01:00
queries/chat FIX: removes an N+1 in channel with user options (#36773) 2025-12-26 23:59:09 +01:00
serializers/chat SECURITY: Channel member list exposes other users' chat read state and notification settings [backport 2026.1] (#40888) 2026-06-15 11:13:20 -05:00
services/chat FIX: Validate the length of chat draft data [backport 2026.1] (#41553) 2026-07-08 14:34:58 -05:00
validators/chat FEATURE: Add setting to prevent anonymous users from using chat (#31842) 2025-03-21 13:32:52 +03:00
views PERF: fix performance of chat email notifications 2024-06-10 14:25:06 +02:00