Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Feb 18, 2025

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
29 of 30 checks passed
@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