Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes when creating a folder or file with a restricted name #630

Closed
jcardama opened this issue Apr 20, 2020 · 2 comments · Fixed by #933
Closed

Crashes when creating a folder or file with a restricted name #630

jcardama opened this issue Apr 20, 2020 · 2 comments · Fixed by #933
Labels
bug Something isn't working 👀

Comments

@jcardama
Copy link

Describe the bug
When trying to create a folder or file with a reserved name, it crashes.

List of names:

  • CON
  • AUX
  • PRN
  • LST
  • COM0 - COM9
  • LPT0 - LPT9
  • NUL

To Reproduce
Steps to reproduce the behavior:

  1. Go to desktop
  2. Right click
  3. New -> Folder
  4. Type a name of the ones mentioned above
  5. UWP Crashes

Expected behavior
An error message should pop showing you the following message as it does on explorer.exe when trying to use a reserved name: "The specified name is invalid."

Desktop (please complete the following information):

  • OS Version: Windows 10 1909 18363.752
  • App version: [v0.7.5.0]

Additional context

  • The names seems to be case insensitive.
  • It happens with folders and files.
@jcardama jcardama added the bug Something isn't working 👀 label Apr 20, 2020
@ghost ghost added the needs-triage label Apr 20, 2020
@Nyameliaaaa
Copy link

Windows bug.

@Nyameliaaaa
Copy link

I think the error should be The file or folder name chosen is a reserved device file name kept for backwards compatibility with older devices. Please name your file or folder something else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 👀
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants