Skip to content

Commit bb2180a

Browse files
Trottmscdex
authored andcommitted
url: fix typo in comment
PR-URL: nodejs#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 bea68b7 commit bb2180a

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)