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

[stable28] Fixes #3492 joining after document is renamed inside editor #3504

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Feb 26, 2024

Backport of PR #3493

Bug:
1. Open document
2. Rename in Collabora Online using input in the title bar
3. In the new tab open the same document from file picker in NC
Result: 2 sessions are in different instances of the same document

getCallbackBaseUrl() puts "/" at the end, but WOPISrc was adding
additional one:
const wopiurl = getCallbackBaseUrl() + '/ ...

Then reconnected session after rename had single "/index.php"
but new session used "//index.php" what caused that COOL server
didn't consider both as the same identifier

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
@backportbot backportbot bot added bug Something isn't working 3. to review Ready to be reviewed labels Feb 26, 2024
@backportbot backportbot bot added this to the Nextcloud 28 milestone Feb 26, 2024
@juliushaertl juliushaertl merged commit 45b4b2c into stable28 Feb 26, 2024
43 checks passed
@delete-merged-branch delete-merged-branch bot deleted the backport/3493/stable28 branch February 26, 2024 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Ready to be reviewed bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants