Skip to content

[stable31] fix: Set a token to shares retrieved from the DB - #1881

Merged
ArtificialOwl merged 1 commit into
stable31from
backport/1865/stable31
Feb 20, 2025
Merged

[stable31] fix: Set a token to shares retrieved from the DB#1881
ArtificialOwl merged 1 commit into
stable31from
backport/1865/stable31

Conversation

@backportbot

@backportbot backportbot Bot commented Feb 18, 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>
@Altahrim Altahrim mentioned this pull request Feb 20, 2025
5 tasks
@ArtificialOwl
ArtificialOwl merged commit d9c296b into stable31 Feb 20, 2025
@ArtificialOwl
ArtificialOwl deleted the backport/1865/stable31 branch February 20, 2025 09:25
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.

3 participants