mirror of
https://github.com/discourse/discourse.git
synced 2026-08-05 10:42:34 +08:00
## Summary Fix anonymous disclosure of hidden full names of reactors and likers via reaction-user APIs when `enable_names` setting is disabled. The `CustomReactionsController` now conditionally includes the `name` field only when `enable_names` is enabled, ensuring the invariant that hidden full names are not exposed to unauthenticated users. ## Source - Patch Triage: https://patch.discourse.org/patch-triage/1451 Co-authored-by: discourse-patch-triage <272280883+discourse-patch-triage[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| custom_reactions_controller.rb | ||