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

Fixes #3492 joining after document is renamed inside editor #3493

Merged

Commits on Feb 22, 2024

  1. Fixes nextcloud#3492 joining after document is renamed inside editor

    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>
    eszkadev committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    eed26e3 View commit details
    Browse the repository at this point in the history