nextcloud / nextcloud/ios

Adding file(upload/scans/audio note) to a folder name with special chars fails with error in loop

Open
#3,550 0 comments 0 reactions 1 assignee View on GitHub

@mpivchev is already working on this.

Since Jun 24, 2025.

bug
Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

Step to reproduce:

Launch the app and login
Tap on "+" button and navigate to create a folder
Enter a folder name with a special character (here: A*)
Click on "Save" ,, it redirect to created folder with special char
Now click "+" button and navigate to "Upload photos and videos"
After select some file click upload and save (here: A*)
Perform scans/audio note record in a created folder name with special chars

Actual result:
Here upload / sync fails with error in loop and it retry to get upload or sync - "409: The request could not be completed due to a conflict with current state of the resource"

Please check upload / sync error with other special chats folder names

Expected result:
Upload should work properly, as it works for android app and in web browser

Note: Please see this fixes as well - There should be an input validation for every prohibited character when entering a folder name.
At the moment there is only a hint displayed if some of the special characters are used (see Folder_create.png).
In case of the screencast, no hint is show.
But even if a hint is show, the user is not kept from creating the prohibited folder name.
This differs from the behavior when renaming a folder. In that case an error is shown,
and the user can't rename the folder (Folder_rename.png).

https://support.nextcloud.com/#ticket/zoom/80662

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.