owncloud / owncloud/client

Problem with folders with the same name, different Unicode normalization

Open
#12,104 0 comments 1 reaction 1 assignee View on GitHub

@erikjv is already working on this.

Since Mar 13, 2025.

Dominant language
C++
Stars
1.5k
Forks
692
Avg merge
2d 3h
Merged PRs (30d)
23

Description

The client behaves badly when it encounters two folders in the same parent folder which (seemingly) have the same name, but a different normalization (NFC vs. NFD). For example, a folder with two subfolders named "Fälder" (NFC) and "Fälder" (NFD), will end up synced to the client as one single folder, with their contents merged.

Worse:

  • on the next sync it will discover that there are new files in that folder, and upload them
  • the folder that doesn't exist locally is deleted on the remote

Fix: the client should detect this normalization collision when running the discovery on the remote, and refuse to sync one of the two folders. Additionally, an error should be shown explaining the situation to the end-user.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.