Skip to content

Commit 6c61ca5

Browse files
committed
url: fix typo in comment
PR-URL: #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>
1 parent 58e914f commit 6c61ca5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/url.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
162162
//
163163
// ex:
164164
// http://a@b@c/ => user:a@b host:c
165-
// http://a@b?@c => user:a host:c path:/?@c
165+
// http://a@b?@c => user:a host:b path:/?@c
166166

167167
// v0.12 TODO(isaacs): This is not quite how Chrome does things.
168168
// Review our test case against browsers more comprehensively.

0 commit comments

Comments
 (0)