url: fix typo in comment
authorRich Trott <rtrott@gmail.com>
Sun, 28 Jun 2015 02:05:20 +0000 (19:05 -0700)
committerRich Trott <rtrott@gmail.com>
Tue, 30 Jun 2015 20:47:57 +0000 (13:47 -0700)
PR-URL: https://github.com/nodejs/io.js/pull/2071
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
lib/url.js

index 8da2f02..55c5248 100644 (file)
@@ -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.