Skip to content

Commit 6c61ca5

Browse files
committed
url: fix typo in comment
PR-URL: #2071 Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Trevor Norris <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]>
1 parent 58e914f commit 6c61ca5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/url.js

+1-1
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)