nextcloud / nextcloud/android

Cannot sync a folder containing the ":" character

Open
#14,893 1 comment 0 reactions 0 assignees View on GitHub
0. Needs triage bug feature: sync hotspot: filename handling stable-3.31
Dominant language
Kotlin
Stars
5.6k
Forks
2k
Avg merge
2d 18h
Merged PRs (30d)
92

Description

### ⚠️ Before posting ⚠️

- [x] This is a **bug**, not a question or an enhancement.
- [x] I've [searched for similar issues](https://github.com/nextcloud/android/issues) and didn't find a duplicate.
- [x] I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
- [x] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).

### Steps to reproduce

1. In the nextcloud server, create a `test : test` folder containing a `test` empty file
2. In the nextcloud android client, manually sync this folder

### Expected behaviour

The file should be locally downloaded (with the green ✅ mark)

### Actual behaviour

File is marked as "in progress" (blue cycling arrows ♻). Then it disappear, leaving only a "error while downloading" notification. Local folder is indeed missing.

Changing the folder name with a `test - test` name does fix the situation

### Android version

14

### Device brand and model

Fairphone 5

### Stock or custom OS?

Stock

### Nextcloud android app version

3.31.1

### Nextcloud server version

30.0.10

### Using a reverse proxy?

No

### Android logs

Hard to fetch logs (standard version, not rooted, no adb)

### Server error logs

```bash
I don't have access to server logs.
```

### Additional information

Note that WebDAV access on this `test : test` folder _does_ work. Content is correctly listed in Nextcloud app. It's only the sync that fails.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.