Skip to content

aeq.file.joinPath breaks UNC paths #50

Description

@runegan

Original report by Zack Lovatt (Bitbucket: zlovatt, GitHub: zlovatt).


Input:

var root = "\\server\path";
var folder = "foo";
var result = aeq.file.joinPath(root, folder);

Desired output: "\\server\path\foo"

Actual output: "\server\path\foo"

Note: node.path.join() handles this properly

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmajor

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions