owncloud / owncloud/ocis

Uploading .dotfiles (e.g. `.bashrc`) keeping both files results in broken filenames

Open
#9,550 0 comments 0 reactions 0 assignees View on GitHub
Type:Bug
Dominant language
Go
Stars
2.1k
Forks
274
Avg merge
2d 1h
Merged PRs (30d)
103

Description

When uploading a .dotfile (e.g. `.bashrc`, via WEB-UI) a second time breaks the filename and prepends a counter to the filename.

![image](https://github.com/owncloud/ocis/assets/1058116/99bb0e25-efc7-449c-a020-1ea9d690687c)

**Expected behaviour:**
To maintain the characteristics of a dotfile, in that cases the counter should be used as a suffix:

e.g.
`.filename` -> `.filename (1)`

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.