diff --git a/lib/url.js b/lib/url.js index 8da2f025dc8ca2..55c5248e4751dd 100644 --- a/lib/url.js +++ b/lib/url.js @@ -162,7 +162,7 @@ Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) { // // ex: // http://a@b@c/ => user:a@b host:c - // http://a@b?@c => user:a host:c path:/?@c + // http://a@b?@c => user:a host:b path:/?@c // v0.12 TODO(isaacs): This is not quite how Chrome does things. // Review our test case against browsers more comprehensively.