0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 06:24:48 +08:00
discourse/plugins/discourse-user-notes/spec
Gabriel Grubba 099285da70
FIX: Validate user note length against max_post_length (#42240)
Previously, staff could persist user notes longer than the configured
maximum post length, which could consume excessive client resources when
rendered.

This change rejects user notes longer than `SiteSetting.max_post_length`
before persistence.

Relates to https://patch.discourse.org/patch-triage/1360
2026-07-31 16:19:10 -03:00
..
requests FIX: Validate user note length against max_post_length (#42240) 2026-07-31 16:19:10 -03:00
system DEV: Update rubocop (#38721) 2026-03-20 00:39:52 +01:00
user_warning_spec.rb