From 6c61ca5325a411c4b64177c5bca58030ea5b97a4 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sat, 27 Jun 2015 19:05:20 -0700 Subject: [PATCH] url: fix typo in comment PR-URL: https://github.com/nodejs/io.js/pull/2071 Reviewed-By: Roman Reiss Reviewed-By: Trevor Norris Reviewed-By: Ben Noordhuis Reviewed-By: Jeremiah Senkpiel --- lib/url.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.