Files
openclaw/extensions
Echo f0a0766d99 fix(mattermost): validate JSON payload fields + normalize callbackPath
- parseSlashCommandPayload JSON branch now validates required fields
  (token, team_id, channel_id, user_id, command) like the form-encoded
  branch, preventing runtime exceptions on malformed JSON payloads
- normalizeCallbackPath() ensures leading '/' to prevent malformed URLs
  like 'http://host:portapi/...' when callbackPath lacks a leading slash
- Applied in resolveSlashCommandConfig and resolveCallbackUrl

Addresses Codex review round 3 (P2 items).
2026-03-03 07:07:19 +00:00
..
2026-03-02 04:55:53 +00:00
2026-03-02 04:55:53 +00:00