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 url doc to account for escaping · nodejs/node@8929445

File tree

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

‎doc/api/url.markdown‎

Copy file name to clipboardExpand all lines: doc/api/url.markdown
+11Lines changed: 11 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
This module has utilities for URL resolution and parsing.
66
Call `require('url')` to use it.
77

8+
## URL Parsing
9+
810
Parsed URL objects have some or all of the following fields, depending on
911
whether or not they exist in the URL string. Any parts that are not in the URL
1012
string will not be in the parsed object. Examples are shown for the URL
@@ -64,6 +66,15 @@ string will not be in the parsed object. Examples are shown for the URL
6466

6567
Example: `'#hash'`
6668

69+
### Escaped Characters
70+
71+
Spaces (`' '`) and the following characters will be automatically escaped in the
72+
properties of URL objects:
73+
74+
< > " ` \r \n \t { } | \ ^ '
75+
76+
---
77+
6778
The following methods are provided by the URL module:
6879

6980
## url.parse(urlStr[, parseQueryString][, slashesDenoteHost])

0 commit comments

Comments
0 (0)
You are visitor 01402775 — 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.