Skip to content

fix(files): encode hash in folder upload destination - #66915

Open
lazerg wants to merge 1 commit into
nextcloud:masterfrom
lazerg:fix/issue-66871-upload-folder-hash
Open

lazerg wants to merge 1 commit into
nextcloud:masterfrom
lazerg:fix/issue-66871-upload-folder-hash

Conversation

@lazerg

@lazerg lazerg commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

Summary

Uploading a folder into a folder whose path contains # failed because createDirectoryIfNotExists built the WebDAV client from the raw destination URL. Everything after the # was read as a fragment, so the existence check hit the wrong folder and the directory was never created. The URL now gets # and ? encoded first.

Checklist

  • Code is properly formatted
  • Sign-off message is added to all commits
  • Tests (unit) are included

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Assisted-by: ClaudeCode:claude-sonnet-5-5
Signed-off-by: lazerg <lazerg2@gmail.com>
@lazerg
lazerg requested review from a team and skjnldsv as code owners November 21, 2026 04:45
@lazerg
lazerg requested review from kristian-zendato and susnux and removed request for a team November 21, 2026 04:45

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]:

1 participant