Skip to content

fix: keep public link uploads on the server origin after entering the password - #3688

Merged
AlexAndBear merged 1 commit into
mainfrom
fix/publiclink-upload-origin
Oct 12, 2026
Merged

AlexAndBear merged 1 commit into
mainfrom
fix/publiclink-upload-origin

Conversation

@AlexAndBear

Copy link
Copy Markdown
Member

Description

  • Public link root keeps the server URL: listFiles now passes the WebDAV base URL when it builds the public link space, so the space upserted after the password prompt keeps absolute WebDAV URLs and uploads no longer go to the web origin.

Related Issue

How Has This Been Tested?

  • test environment: unit tests (Vitest)
  • test case 1: listing a public link root returns a space whose getWebDavUrl points to the server origin

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 7c5a47a into main Oct 12, 2026
28 checks passed
@AlexAndBear
AlexAndBear deleted the fix/publiclink-upload-origin branch October 12, 2026 19:13
@openclouders openclouders mentioned this pull request Oct 12, 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.

Uploading into a password-protected link right after entering the password fails when web and server run on different origins

2 participants