0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-09 21:45:25 +08:00
discourse/plugins/chat/spec/services
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
..
actions FEATURE: Add full-text search for chat messages (#34704) 2025-10-22 11:30:35 +02:00
chat FIX: Validate the length of chat draft data [backport 2026.1] (#41553) 2026-07-08 14:34:58 -05:00
video_conversion DEV: Add video conversion support for chat messages (#36275) 2025-12-01 12:34:56 -07:00
hashtag_autocomplete_service_spec.rb DEV: Chat hashtag test (#25638) 2024-02-12 12:32:52 +10:00