-
-
Notifications
You must be signed in to change notification settings - Fork 33.6k
Closed
Labels
fsIssues and PRs related to the fs subsystem / file system.Issues and PRs related to the fs subsystem / file system.wontfixIssues that will not be fixed.Issues that will not be fixed.
Description
- Version: 10.16.3, 12.11.1
- Platform: Windows 64, 32-bit
- Subsystem: fs (utils.js)
This is a regression from node 8.16.2
const pathname = join(__dirname, "?\0"); // null character will fail validation
let output = createWriteStream(pathname)
.on("error", (error) => {
// do something
});
validatePath function throws an exception instead of calling error callback
In node 8, the callback was checked
Metadata
Metadata
Assignees
Labels
fsIssues and PRs related to the fs subsystem / file system.Issues and PRs related to the fs subsystem / file system.wontfixIssues that will not be fixed.Issues that will not be fixed.