Skip to content

Cherry-pick 7830366f3: fix(slack): propagate mediaLocalRoots through Slack send path#1707

Merged
alexey-pelykh merged 1 commit intomainfrom
cherry-pick/7830366f3-slack-media-local-roots
Mar 20, 2026
Merged

Cherry-pick 7830366f3: fix(slack): propagate mediaLocalRoots through Slack send path#1707
alexey-pelykh merged 1 commit intomainfrom
cherry-pick/7830366f3-slack-media-local-roots

Conversation

@alexey-pelykh
Copy link
Copy Markdown

Cherry-pick from upstream

Upstream commit: 7830366f3
Author: 2233admin [email protected]

fix(slack): propagate mediaLocalRoots through Slack send path

Depends on #1706

Restore Slack local file upload parity with CVE-era local media allowlist enforcement by threading `mediaLocalRoots` through the Slack send call chain.

- pass `ctx.mediaLocalRoots` from Slack channel action adapter into `handleSlackAction`
- add and forward `mediaLocalRoots` in Slack action context/send path
- pass `mediaLocalRoots` into `sendMessageSlack` for upload allowlist enforcement
- add changelog entry with attribution for this behavior fix

Co-authored-by: 2233admin <[email protected]>
Co-authored-by: Claude Opus 4.6 <[email protected]>
Co-authored-by: Tak Hoffman <[email protected]>
(cherry picked from commit 7830366)
@alexey-pelykh alexey-pelykh merged commit 33db7cc into main Mar 20, 2026
7 checks passed
@alexey-pelykh alexey-pelykh deleted the cherry-pick/7830366f3-slack-media-local-roots branch March 20, 2026 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants