diff options
-rw-r--r-- | doc/api/url.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/url.md b/doc/api/url.md index 4f4baedfe7..3b2c7cd8ba 100644 --- a/doc/api/url.md +++ b/doc/api/url.md @@ -920,9 +920,9 @@ The legacy `urlObject` (`require('url').Url`) is created and returned by the The `auth` property is the username and password portion of the URL, also referred to as _userinfo_. This string subset follows the `protocol` and -double slashes (if present) and precedes the `host` component, delimited by an -ASCII "at sign" (`@`). The string is either the username, or it is the username -and password separated by `:`. +double slashes (if present) and precedes the `host` component, delimited by `@`. +The string is either the username, or it is the username and password separated +by `:`. For example: `'user:pass'`. |