Skip to content

fix: open public links with a path after the token - #4240

Merged
AlexAndBear merged 1 commit into
mainfrom
fix/public-link-subpath-spinner
Nov 6, 2026
Merged

AlexAndBear merged 1 commit into
mainfrom
fix/public-link-subpath-spinner

Conversation

@AlexAndBear

Copy link
Copy Markdown
Member

Description

Public link URLs with a path after the token (/s/<token>/<path>) no longer spin forever. They now ask for the link password if needed and then open that folder, or the file in its app, also for logged-in users and the link owner.

Related Issue

How Has This Been Tested?

  • test environment: unit tests (Vitest), browser tests (Playwright) against a local OpenCloud
  • test case 1: unit: the vault guard doesn't wait for spaces on the resolve routes; a path after the token resolves to that folder or file, and a path the server can't find is kept
  • test case 2: browser: password-protected link with a folder path (desktop and Pixel 7), file paths open in the text editor, logged in as recipient and owner, missing path shows not found, vault path shows the unlock prompt and lands in the vault subfolder, links without a path and single-file links unchanged

Types of changes

  • Bugfix
  • Enhancement (a change that doesn't break existing code or deployments)
  • Breaking change (a modification that affects current functionality)
  • Technical debt (addressing code that needs refactoring or improvements)
  • Tests (adding or improving tests)
  • Documentation (updates or additions to documentation)
  • Maintenance (like dependency updates or tooling adjustments)

@AlexAndBear
AlexAndBear merged commit 327acbb into main Nov 6, 2026
29 checks passed
@AlexAndBear
AlexAndBear deleted the fix/public-link-subpath-spinner branch November 6, 2026 09:09
@openclouders openclouders mentioned this pull request Nov 6, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Public link URL with a path after the token spins forever

2 participants