FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

doc: url.format - true slash postfix behaviour by claudiorodriguez · Pull Request #4119 · nodejs/node · GitHub

/ node Public

doc: url.format - true slash postfix behaviour - #4119

Closed
claudiorodriguez wants to merge 1 commit into
nodejs:masterfrom
claudiorodriguez:doc-url-format-protocol-postfix-slashes
Closed

doc: url.format - true slash postfix behaviour#4119
claudiorodriguez wants to merge 1 commit into
nodejs:masterfrom
claudiorodriguez:doc-url-format-protocol-postfix-slashes

Conversation

Copy link
Copy Markdown
Contributor

Change url.format's references to slash postfixing to reflect
true behaviour (it only automatically postfixes slashes to the
slashedProtocols when host is present).

Fixes: #3361
Also ccing to #4101

Change url.format's references to slash postfixing to reflect
true behaviour (it only automatically postfixes slashes to the
slashedProtocols when host is present).

Fixes: nodejs#3361
mscdex added doc Issues and PRs related to the documentations. url Issues and PRs related to the legacy built-in url module. labels Dec 2, 2015

Copy link
Copy Markdown
Contributor

I don't think we should document broken behaviour, see #3361 (comment).

jasnell commented Dec 3, 2015

Copy link
Copy Markdown
Member

Well... the current behavior ought to be documented and if it's broken, it ought be fixed ;-) Until it's fixed, it definitely should be documented tho

Copy link
Copy Markdown
Contributor

Right, you have a point. We can land this and then possible follow up with a breaking change that removes it again.

LGTM

jasnell commented Dec 3, 2015

Copy link
Copy Markdown
Member

LGTM

Copy link
Copy Markdown
Contributor Author

@silverwind once this lands I'll probably submit another PR doing that, will have to add a few tests to test-url (which has gotten quite large, probably a refactor into separate files might be warranted too)

JungMinu commented Dec 5, 2015

Copy link
Copy Markdown
Member

LGTM

JungMinu commented Dec 5, 2015

Copy link
Copy Markdown
Member

May I land this? :)

Copy link
Copy Markdown
Contributor

@JungMinu go ahead.

JungMinu pushed a commit that referenced this pull request Dec 6, 2015
Change url.format's references to slash postfixing to reflect
true behaviour (it only automatically postfixes slashes to the
slashedProtocols when host is present).

Fixes: #3361

PR-URL: #4119
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>

JungMinu commented Dec 6, 2015

Copy link
Copy Markdown
Member

Thanks, landed in 2a29b70

JungMinu closed this Dec 6, 2015
rvagg pushed a commit that referenced this pull request Dec 8, 2015
Change url.format's references to slash postfixing to reflect
true behaviour (it only automatically postfixes slashes to the
slashedProtocols when host is present).

Fixes: #3361

PR-URL: #4119
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
rvagg mentioned this pull request Dec 17, 2015
MylesBorins pushed a commit that referenced this pull request Dec 29, 2015
Change url.format's references to slash postfixing to reflect
true behaviour (it only automatically postfixes slashes to the
slashedProtocols when host is present).

Fixes: #3361

PR-URL: #4119
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
MylesBorins pushed a commit that referenced this pull request Jan 19, 2016
Change url.format's references to slash postfixing to reflect
true behaviour (it only automatically postfixes slashes to the
slashedProtocols when host is present).

Fixes: #3361

PR-URL: #4119
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
MylesBorins mentioned this pull request Jan 19, 2016
scovetta pushed a commit to scovetta/node that referenced this pull request Apr 2, 2016
Change url.format's references to slash postfixing to reflect
true behaviour (it only automatically postfixes slashes to the
slashedProtocols when host is present).

Fixes: nodejs#3361

PR-URL: nodejs#4119
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Issues and PRs related to the documentations. url Issues and PRs related to the legacy built-in url module.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

url.format does not postfix slashes to protocol but doc pretend it should by default

6 participants


Back | FazBrowse Home | New Git URL