Skip to content

fix: resolve links into another user's personal space via the file id - #4315

Merged
AlexAndBear merged 1 commit into
mainfrom
fix/personal-url-other-user
Nov 9, 2026
Merged

AlexAndBear merged 1 commit into
mainfrom
fix/personal-url-other-user

Conversation

@AlexAndBear

Copy link
Copy Markdown
Member

Description

  • Shared folders: a URL into another user's personal space (e.g. copied by the owner) now opens the shared item via its file id, like a permanent link, instead of silently dropping you on your own Personal root.
  • No access: without a file id such a URL now shows the not found message; unknown project space URLs behave as before.

Related Issue

How Has This Been Tested?

  • test environment: unit tests (Vitest), browser tests (Playwright) against a local OpenCloud
  • test case 1: unit: DriveResolver resolves the file id for unknown personal aliases only (details query kept), DriveRedirect shows not found for another user's personal alias and still redirects personal/home and personal/
  • test case 2: browser: the issue's URL lands on the share (also with details, no back-button loop); without file id not found; own personal, personal/home, personal/, project and share URLs after reload, unknown project URL and public link 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 a3c3ce3 into main Nov 9, 2026
29 checks passed
@AlexAndBear
AlexAndBear deleted the fix/personal-url-other-user branch November 9, 2026 08:36
@openclouders openclouders mentioned this pull request Nov 9, 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.

Another user's personal space URL silently redirects to your own Personal root

2 participants