diff options
author | Rich Trott <rtrott@gmail.com> | 2018-08-15 01:20:40 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2018-08-15 02:39:33 +0300 |
commit | b002f6ec27a436c4d3580b953c5e8761f888a6a9 (patch) | |
tree | e831b34044d484426413a3e999aa5d417a700a89 /doc/api/url.md | |
parent | bccd7b8dacef7806b977a07caeae27328aadacd5 (diff) |
doc: simplify format description of urlObject.auth
The "at sign" is properly the "commercial at" but let's just avoid the
whole naming issue by putting the symbol right in the sentence.
PR-URL: https://github.com/nodejs/node/pull/22324
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Bryan English <bryan@bryanenglish.com>
Diffstat (limited to 'doc/api/url.md')
-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 4f4baedfe71..3b2c7cd8ba0 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'`. |