Files
open-webui/backend/open_webui/models
Classic298 a66477b710 fix: bind channel thread parent/reply to the URL channel (#25766)
GET /api/v1/channels/{id}/messages/{message_id}/thread authorized only the URL channel, but get_messages_by_parent_id() appended the thread parent (loaded by id) without checking it belonged to that channel, so a caller could read a message from a channel they cannot access by passing its id as the thread root. Require the parent to be in the requested channel before returning it, and reject a posted parent_id/reply_to_id that does not belong to the channel.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-29 03:46:50 -05:00
..
2026-06-29 03:16:59 -05:00
2026-06-01 14:09:54 -07:00
2026-06-23 23:35:44 +02:00
2026-06-29 01:38:41 -05:00
2026-06-18 11:02:14 +02:00
2026-06-17 00:17:48 +02:00
2026-06-17 00:25:35 +02:00
2026-06-01 13:56:55 -07:00
2026-06-29 01:41:43 -05:00
2026-06-29 00:26:35 -05:00
2026-06-29 02:43:14 -05:00
2026-05-14 01:49:34 +09:00
2026-06-01 13:56:55 -07:00
2026-06-01 13:56:55 -07:00
2026-06-01 13:56:55 -07:00