GeezerVison is showing github.com — doc: simplify format description of urlObject.auth · nodejs/node@6d29986
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: doc/api/url.md +3-3Lines changed: 3 additions & 3 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -920,9 +920,9 @@ The legacy `urlObject` (`require('url').Url`) is created and returned by the |
920 | 920 |
|
921 | 921 | The `auth` property is the username and password portion of the URL, also |
922 | 922 | referred to as _userinfo_. This string subset follows the `protocol` and |
923 | | -double slashes (if present) and precedes the `host` component, delimited by an |
924 | | -ASCII "at sign" (`@`). The string is either the username, or it is the username |
925 | | -and password separated by `:`. |
| 923 | +double slashes (if present) and precedes the `host` component, delimited by `@`. |
| 924 | +The string is either the username, or it is the username and password separated |
| 925 | +by `:`. |
926 | 926 |
|
927 | 927 | For example: `'user:pass'`. |
928 | 928 |
|
|