-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
Closed
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.urlIssues and PRs related to the legacy built-in url module.Issues and PRs related to the legacy built-in url module.
Description
require("url").resolve(
"http://user:[email protected]:80/path/resource.html?query#hash",
"http://fakeurl.com/path/resource.html?query#hash"
);
produces http://user:[email protected]/path/resource.html?query#hash
Node.js has been doing this for as long as I've been using it. How can it be correct to add auth information from one absolute url to another absolute url?
Metadata
Metadata
Assignees
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.urlIssues and PRs related to the legacy built-in url module.Issues and PRs related to the legacy built-in url module.