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: nodejs#22324
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Bryan English <bryan@bryanenglish.com>
  • Loading branch information
Trott committed Aug 14, 2018
1 parent bccd7b8 commit b002f6e
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 b002f6e

Please sign in to comment.