Skip to content

[stable31] fix(sessions): only use share node matching the session document - #9524

Merged
mejo- merged 1 commit into
stable31from
backport/9521/stable31
Nov 4, 2026
Merged

mejo- merged 1 commit into
stable31from
backport/9521/stable31

Conversation

@backportbot

@backportbot backportbot Bot commented Nov 3, 2026

Copy link
Copy Markdown

Backport of PR #9521

getFileForSession() returned the node of a single-file share without
checking it against the session's document, so the share token passed
with push, sync and save could belong to a different file. Require the
resolved file id to match the session document id.

Alaready fixed in stable35 and above, where getFileByIdFromShare() does
the same check, as part of #9062.

Signed-off-by: Jonas <jonas@freesources.org>
Assisted-by: ClaudeCode:claude-opus-5-5
@backportbot
backportbot Bot requested a review from benjaminfrueh November 3, 2026 20:14
@backportbot backportbot Bot added bug Something isn't working 3. to review feature: sharing labels Nov 3, 2026
@mejo- mejo- changed the title [stable31] [stable34] fix(sessions): only use share node matching the session document [stable31] fix(sessions): only use share node matching the session document Nov 3, 2026
@mejo-
mejo- enabled auto-merge November 3, 2026 20:14
@mejo-
mejo- disabled auto-merge November 4, 2026 08:15
@mejo-
mejo- merged commit a55cfad into stable31 Nov 4, 2026
65 of 68 checks passed
@mejo-
mejo- deleted the backport/9521/stable31 branch November 4, 2026 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant