GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: update description for `percent_encode` sets in `WHATWG API` · nodejs/node@c70945d

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • url.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/url.md‎

Copy file name to clipboardExpand all lines: doc/api/url.md
+7-6Lines changed: 7 additions & 6 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1726,18 +1726,19 @@ The WHATWG algorithm defines four "percent-encode sets" that describe ranges
17261726
of characters that must be percent-encoded:
17271727
17281728
* The _C0 control percent-encode set_ includes code points in range U+0000 to
1729-
U+001F (inclusive) and all code points greater than U+007E.
1729+
U+001F (inclusive) and all code points greater than U+007E (\~).
17301730
17311731
* The _fragment percent-encode set_ includes the _C0 control percent-encode set_
1732-
and code points U+0020, U+0022, U+003C, U+003E, and U+0060.
1732+
and code points U+0020 SPACE, U+0022 ("), U+003C (<), U+003E (>),
1733+
and U+0060 (\`).
17331734
17341735
* The _path percent-encode set_ includes the _C0 control percent-encode set_
1735-
and code points U+0020, U+0022, U+0023, U+003C, U+003E, U+003F, U+0060,
1736-
U+007B, and U+007D.
1736+
and code points U+0020 SPACE, U+0022 ("), U+0023 (#), U+003C (<), U+003E (>),
1737+
U+003F (?), U+0060 (\`), U+007B ({), and U+007D (}).
17371738
17381739
* The _userinfo encode set_ includes the _path percent-encode set_ and code
1739-
points U+002F, U+003A, U+003B, U+003D, U+0040, U+005B, U+005C, U+005D,
1740-
U+005E, and U+007C.
1740+
points U+002F (/), U+003A (:), U+003B (;), U+003D (=), U+0040 (@),
1741+
U+005B (\[) to U+005E(^), and U+007C (|).
17411742
17421743
The _userinfo percent-encode set_ is used exclusively for username and
17431744
passwords encoded within the URL. The _path percent-encode set_ is used for the

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.