Skip to content

[stable30] fix: Set a token to shares retrieved from the DB - #1992

Merged
ArtificialOwl merged 1 commit into
stable30from
backport/1865/stable30
May 15, 2025
Merged

[stable30] fix: Set a token to shares retrieved from the DB#1992
ArtificialOwl merged 1 commit into
stable30from
backport/1865/stable30

Conversation

@backportbot

@backportbot backportbot Bot commented May 13, 2025

Copy link
Copy Markdown

Backport of PR #1865

When accessing a circle share from the public share view, the `addOpenGraphHeaders` method was erroring in `DefaultPublicShareTemplateProvider`.
This is due to the fact that the `$share` object for circles share does not contain a token, so the computation of the `$shareUrl` was failing.

This commit ensures that the share has a token.

Signed-off-by: Louis Chemineau <louis@chmn.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants