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 a658a4d commit 6d29986
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/api/url.md
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 6d29986

Please sign in to comment.