Skip to content

Commit

Permalink
doc: simplify format description of urlObject.auth
Browse files Browse the repository at this point in the history
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: #22324
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Bryan English <bryan@bryanenglish.com>
  • Loading branch information
Trott authored and rvagg committed Aug 15, 2018
1 parent 3be55fa commit ec6a861
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/api/url.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'`.

Expand Down

0 comments on commit ec6a861

Please sign in to comment.