-
Notifications
You must be signed in to change notification settings - Fork 31.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
path.normalize does not work correctly in case of a folder that contains .. as part of its name #14105
Labels
confirmed-bug
Issues with confirmed bugs.
Comments
The behavior changed between v5.6.0 and v5.7.0 Edit: this is likely due to 4dae8ca |
3 tasks
Possible fix: #14107 |
targos
added a commit
to targos/node
that referenced
this issue
Aug 28, 2017
ghost
pushed a commit
to ayojs/ayo
that referenced
this issue
Aug 30, 2017
PR-URL: nodejs/node#14107 Fixes: nodejs/node#14105 Reviewed-By: Refael Ackermann <refack@gmail.com>
ghost
pushed a commit
to ayojs/ayo
that referenced
this issue
Aug 30, 2017
PR-URL: nodejs/node#14107 Fixes: nodejs/node#14105 Reviewed-By: Refael Ackermann <refack@gmail.com>
cjihrig
pushed a commit
to cjihrig/node
that referenced
this issue
Aug 31, 2017
PR-URL: nodejs#14107 Fixes: nodejs#14105 Reviewed-By: Refael Ackermann <refack@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using path.normalize with a folder that has '..' at the end of it, it fails to continue parsing the input correctly.
path.normalize('bar/foo../../')
current output: bar/foo../../
desired output: bar
The text was updated successfully, but these errors were encountered: