Skip to content

doc: clarify slashes-appending in url module - #9731

Closed
Trott wants to merge 2 commits into
nodejs:masterfrom
Trott:relative-file
Closed

doc: clarify slashes-appending in url module#9731
Trott wants to merge 2 commits into
nodejs:masterfrom
Trott:relative-file

Conversation

@Trott

Copy link
Copy Markdown
Member
Checklist
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

doc url

Description of change

Refs: #9521

@TrottTrott added doc Issues and PRs related to the documentations. url Issues and PRs related to the legacy built-in url module. labels Nov 22, 2016
@nodejs-github-botnodejs-github-bot added doc Issues and PRs related to the documentations. url Issues and PRs related to the legacy built-in url module. labels Nov 22, 2016
Comment threaddoc/api/url.md Outdated
* `urlObject.slashes` property is true;
* `urlObject.protocol` begins with `http`, `https`, `ftp`, `gopher`, or
`file`;
* `urlObject.protocol` is `undefined`.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this correct?

> url.format({ hostname: 'example.com' })
'example.com'

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It appears not. I'll update it.

Trott added a commit to Trott/io.js that referenced this pull request Nov 24, 2016
PR-URL: nodejs#9731
Ref: nodejs#9521
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@Trott

Trott commented Nov 24, 2016

Copy link
Copy Markdown
MemberAuthor

Landed in c1133f4

@TrottTrott closed this Nov 24, 2016
addaleax pushed a commit that referenced this pull request Dec 5, 2016
PR-URL: #9731
Ref: #9521
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@Fishrock123Fishrock123 mentioned this pull request Dec 5, 2016
2 tasks
MylesBorins pushed a commit that referenced this pull request Dec 20, 2016
PR-URL: #9731
Ref: #9521
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
MylesBorins pushed a commit that referenced this pull request Dec 21, 2016
PR-URL: #9731
Ref: #9521
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@MylesBorinsMylesBorins mentioned this pull request Dec 21, 2016
@Trott
Trott deleted the relative-file branch January 13, 2022 22:44
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docIssues and PRs related to the documentations.urlIssues and PRs related to the legacy built-in url module.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@Trott@lpinca@MylesBorins@nodejs-github-bot