Vincent Koc
563a125c66
fix(gateway): stop shared-main chat.send from inheriting stale external routes (#38418)
* fix(gateway): prevent webchat messages from cross-routing to external channels
chat.send always originates from the webchat/control-UI surface. Previously,
channel-scoped session keys (e.g. agent:main:slack:direct:U…) caused
OriginatingChannel to inherit the session's stored external route, so the
reply dispatcher would route responses to Slack/Telegram instead of back to
the gateway connection. Remove the route-inheritance logic from chat.send and
always set OriginatingChannel to INTERNAL_MESSAGE_CHANNEL ("webchat").
Closes #34647
Made-with: Cursor
* Gateway: preserve configured-main connect gating
* Gateway: cover connect-without-client routing
* Gateway: add chat.send session key length limit
* Gateway: cap chat.send session key schema
* Gateway: bound chat.send session key parsing
* Gateway: cover oversized chat.send session keys
* Update CHANGELOG.md
---------
Co-authored-by: SidQin-cyber <sidqin0410@gmail.com>
2026-03-06 21:59:08 -05:00
..
2026-03-04 10:52:28 +01:00
2026-02-18 01:34:35 +00:00
2026-03-04 10:52:28 +01:00
2026-03-04 10:52:28 +01:00
2026-03-03 20:29:46 -06:00
2026-03-04 10:52:28 +01:00
2026-03-03 20:29:46 -06:00
2026-02-08 23:07:31 -06:00
2026-03-03 03:04:13 +00:00
2026-02-15 13:30:42 +00:00
2026-02-16 01:19:01 +00:00
2026-03-02 06:26:35 +00:00
2026-03-02 06:26:35 +00:00
2026-02-18 01:34:35 +00:00
2026-02-22 14:44:19 +00:00
2026-02-18 12:43:54 +00:00
2026-03-06 21:59:08 -05:00
2026-02-22 14:44:19 +00:00
2026-02-22 12:19:33 +01:00
2026-03-06 21:59:08 -05:00
2026-02-22 12:40:06 -05:00
2026-03-06 02:50:48 -05:00
2026-02-18 01:34:35 +00:00
2026-03-01 06:55:48 -06:00
2026-02-20 17:38:58 +00:00
2026-02-23 20:40:44 +00:00
2026-02-23 14:07:16 -05:00
2026-03-02 01:12:53 +00:00
2026-02-18 23:09:09 +00:00
2026-02-18 01:34:35 +00:00
2026-02-18 01:34:35 +00:00
2026-02-21 19:03:15 -08:00
2026-02-27 12:16:36 +05:30
2026-02-18 01:34:35 +00:00
2026-02-27 12:16:36 +05:30
2026-03-06 19:35:26 -05:00
2026-02-27 12:16:36 +05:30
2026-02-22 17:11:54 +00:00
2026-02-18 19:32:42 +00:00
2026-02-16 01:21:54 +00:00
2026-03-03 02:58:20 +00:00
2026-03-03 02:58:20 +00:00
2026-03-02 19:57:33 +00:00
2026-02-26 21:03:28 +01:00
2026-03-04 10:52:28 +01:00
2026-03-06 05:31:59 -08:00
2026-02-18 01:34:35 +00:00
2026-02-17 15:50:07 +09:00
2026-02-18 00:02:51 -05:00
2026-02-24 15:02:52 +00:00
2026-02-22 23:55:59 -06:00
2026-02-23 00:05:57 -06:00
2026-02-18 01:34:35 +00:00
2026-02-27 12:16:36 +05:30
2026-02-22 08:01:16 +00:00
2026-02-19 13:32:58 +00:00
2026-02-22 17:11:54 +00:00
2026-02-20 20:09:03 -06:00
2026-03-02 08:54:20 +00:00
2026-02-18 01:34:35 +00:00
2026-02-18 01:34:35 +00:00
2026-02-18 01:34:35 +00:00
2026-02-18 01:34:35 +00:00