Skip to content

Conversation

@kwkam
Copy link
Contributor

@kwkam kwkam commented Jul 30, 2018

PR Summary

Unescape non-literal, non-glob path before existence checking.
This solve the issue where Get-GhildItem does not behave correctly
when -Path contains special characters. For example,

Get-ChildItem -Path './`[dir`]'

will complain with error "Cannot find path ..." while

Get-ChildItem -Path './`[dir`]' -Depth 0

will work fine.

PR Checklist

Unescape non-literal, non-glob path before existence checking.
This solve the issue where Get-GhildItem does not behave correctly
when -Path contains special characters. For example,
> Get-ChildItem -Path './`[dir`]'
will complain with error "Cannot find path ..." while
> Get-ChildItem -Path './`[dir`]' -Depth 0
will work fine.
@kwkam kwkam changed the title [Feature] Fix Get-ChildItem -Path with wildcard char Fix Get-ChildItem -Path with wildcard char Jul 31, 2018
@stale
Copy link

stale bot commented Aug 30, 2018

This PR has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed if no further activity occurs within 10 days.
Thank you for your contributions.
Community members are welcome to grab these works.

@stale stale bot added the Stale label Aug 30, 2018
@stale stale bot removed the Stale label Sep 9, 2018
@stale
Copy link

stale bot commented Oct 9, 2018

This PR has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed if no further activity occurs within 10 days.
Thank you for your contributions.
Community members are welcome to grab these works.

@stale stale bot added the Stale label Oct 9, 2018
@stale
Copy link

stale bot commented Oct 19, 2018

This PR has be automatically close because it is stale. If you wish to continue working on the PR, please first update the PR, then reopen it.
Thanks again for your contribution.
Community members are welcome to grab these works.

@stale stale bot closed this Oct 19, 2018
@kwkam
Copy link
Contributor Author

kwkam commented Nov 10, 2018

It seems that I cannot reopen this. Do I have to create a new PR?

@vexx32
Copy link
Collaborator

vexx32 commented Jan 2, 2019

@kwkam I believe if you submit a new commit to this branch it should allow you to reopen it / reopen automatically.

@kwkam
Copy link
Contributor Author

kwkam commented Jan 11, 2019

@vexx32 I have merged the latest master into this branch, but still there is no option for re-opening the PR. Maybe I do not have the permission to reopen my PR?

@vexx32
Copy link
Collaborator

vexx32 commented Jan 11, 2019

That's very strange... I guess you can just open a new PR from the same branch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants