Closed
Description
Description
It seems that Files doesn't prevent the user from creating files or folders with forbidden names that regular File Explorer would otherwise prevent.
It should prevent the user from creating files or folders named (in either lowercase or uppercase):
CON
PRN
AUX
NUL
COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, COM0
LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9, LPT0
Steps To Reproduce
- Open Files
- Go to a place where you can freely create folders or files
- Create a folder or a file with a forbidden name (list in the description)
- Open file explorer and create a folder or a file with the same name
- File explorer will not allow the creation of a folder or a file with that name
Steps to fix
- Display text when forbidden folders names are entered into the new folder modal
- Display error content dialog when users try renaming a folder to con
Files Version
2.3.3.0
Windows Version
Windows 11 21H2 22000.778
Relevant Assets/Logs
n/a
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
✅ Done