You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
With "Show file extensions" off, renaming folders and files without an extension writes wrong names #3656
I understand this is a bug report and questions should be posted in the Community Discussions
I searched issues and couldn’t find anything (or linked relevant results below)
Bug Description
With "Show file extensions" off, renaming folders and files without an extension writes wrong names. Cause: packages/web-app-files/src/composables/actions/files/useFileActionsRename.ts:131-133 (onConfirm) and :138-140 (checkName) always append .${extension}, also for folders (whose input shows the full name) and for files with an empty extension.
Reproduction Steps
View options → turn off "Show file extensions".
Rename folder plainfolder to plainfolder2, folder dotted.folder to dotted2.folder and file README to README2.
Expected Outcome
plainfolder2, dotted2.folder, README2 on the server.
Actual Outcome
The server gets plainfolder2. (trailing dot), dotted2.folder.folder and README2.. Files with an extension are fine.
Activity