Skip to content

Node 5.7.1 path.normalize broken #5585

@be-dcodeit

Description

@be-dcodeit

The following sample works fine in node v5.1.0 but is broken in node v5.7.1:

path.normalize("/a/b/c/../../../x/y/z")

Correct (node v5.1.0): /x/y/z
Broken (node v5.7.1): /a/x/y/z

Note this works fine if the first path contains more than 1 character (e.g. "/aa/b/c/../../../x/y/z")

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmed-bugIssues with confirmed bugs.pathIssues and PRs related to the path subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions