-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Fix: Fixed issue with resolving paths containing ".." #11575
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
Fix: Fixed issue with resolving paths containing ".." #11575
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks OK, I will need to test it out properly. It looks promising!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. But I cannot test FTP as well.
I found a better way to achieve the same thing, I'll open a different PR |
Resolved / Related Issues
Items resolved / related issues by this PR.
Details
.Contains()
fromGetPathWithoutEnvironmentVariable()
since they are not really needed:.Replace()
won't do anything if the string isn't matchedftp
Validation
How did you test these changes?