path: fix normalize on directories with two dots#14107
Closed
targos wants to merge 1 commit intonodejs:masterfrom
Closed
path: fix normalize on directories with two dots#14107targos wants to merge 1 commit intonodejs:masterfrom
targos wants to merge 1 commit intonodejs:masterfrom
Conversation
Member
Author
|
It's probably not the best way to fix the issue. /cc @mscdex |
Contributor
refack
reviewed
Jul 6, 2017
test/parallel/test-path.js
Outdated
Contributor
There was a problem hiding this comment.
Could you add:
assert.strictEqual(path.win32.normalize('bar\\foo..\\..\\'), 'bar\\');
assert.strictEqual(path.win32.normalize('bar\\foo..\\..\\baz'), 'bar\\baz');
assert.strictEqual(path.win32.normalize('bar\\foo..\\'), 'bar\\foo..');Or alternatively find the coverage
eb9ff15 to
1250227
Compare
refack
approved these changes
Jul 7, 2017
Contributor
refack
left a comment
There was a problem hiding this comment.
LGTM
We could probably refactor this whole thing for TF&I anyway
Contributor
Good luck. |
Member
|
This needs a rebase |
1250227 to
092094d
Compare
Member
Author
|
Looks like I forgot about this PR... Done. |
Member
|
CI failed on arm, trying again https://ci.nodejs.org/job/node-test-commit-arm/11784/ |
targos
added a commit
to targos/node
that referenced
this pull request
Aug 30, 2017
PR-URL: nodejs#14107 Fixes: nodejs#14105 Reviewed-By: Refael Ackermann <[email protected]>
Member
Author
|
Landed in b98e8d9 |
ghost
pushed a commit
to ayojs/ayo
that referenced
this pull request
Aug 30, 2017
PR-URL: nodejs/node#14107 Fixes: nodejs/node#14105 Reviewed-By: Refael Ackermann <[email protected]>
ghost
pushed a commit
to ayojs/ayo
that referenced
this pull request
Aug 30, 2017
PR-URL: nodejs/node#14107 Fixes: nodejs/node#14105 Reviewed-By: Refael Ackermann <[email protected]>
cjihrig
pushed a commit
to cjihrig/node
that referenced
this pull request
Aug 31, 2017
PR-URL: nodejs#14107 Fixes: nodejs#14105 Reviewed-By: Refael Ackermann <[email protected]>
MylesBorins
pushed a commit
that referenced
this pull request
Sep 10, 2017
PR-URL: #14107 Fixes: #14105 Reviewed-By: Refael Ackermann <[email protected]>
Merged
MylesBorins
pushed a commit
that referenced
this pull request
Sep 12, 2017
PR-URL: #14107 Fixes: #14105 Reviewed-By: Refael Ackermann <[email protected]>
MylesBorins
pushed a commit
that referenced
this pull request
Sep 20, 2017
PR-URL: #14107 Fixes: #14105 Reviewed-By: Refael Ackermann <[email protected]>
Contributor
|
I've backported to v6.x Please let me know if it should be backed out |
Merged
MylesBorins
pushed a commit
that referenced
this pull request
Oct 16, 2017
PR-URL: #14107 Fixes: #14105 Reviewed-By: Refael Ackermann <[email protected]>
Contributor
|
I've landed this back on v6.x along with 19d2d6611c which fixed the security vulnerability. Please let me know if you think they should be backed out /cc @nodejs/security @nodejs/tsc |
Merged
MylesBorins
pushed a commit
that referenced
this pull request
Oct 25, 2017
PR-URL: #14107 Fixes: #14105 Reviewed-By: Refael Ackermann <[email protected]>
Merged
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes: #14105
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
path