-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Closed
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.fsIssues and PRs related to the fs subsystem / file system.Issues and PRs related to the fs subsystem / file system.libuvIssues and PRs related to the libuv dependency or the uv binding.Issues and PRs related to the libuv dependency or the uv binding.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.
Description
- Version: v12.18.0
- Platform: Windows10
- Subsystem:
What steps will reproduce the bug?
const fs = require("fs");
const path = "./to-delete/s:d";
fs.mkdir(path, { recursive: true }, (err) => {
if (err) {
console.log(err);
return;
}
console.log("success");
});How often does it reproduce? Is there a required condition?
Using : (double dots) character in folder name after the first prefix will make the program freeze
What is the expected behavior?
Throw an error
What do you see instead?
The program hangs
Additional information
--
Metadata
Metadata
Assignees
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.fsIssues and PRs related to the fs subsystem / file system.Issues and PRs related to the fs subsystem / file system.libuvIssues and PRs related to the libuv dependency or the uv binding.Issues and PRs related to the libuv dependency or the uv binding.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.