Skip to content
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

Tilde replacement is incorrect #29

Open
schlessera opened this issue Nov 23, 2018 · 0 comments
Open

Tilde replacement is incorrect #29

schlessera opened this issue Nov 23, 2018 · 0 comments

Comments

@schlessera
Copy link

schlessera commented Nov 23, 2018

The "tilde to HOME" replacement seems incorrect:

if ('~' === $path[0]) {

If you are user_a and you type ~user_b, this would be replaced by the shell to mean /home/user_b. The current code will replace this to /home/user_auser_b instead.

schlessera added a commit to wp-cli/wp-cli that referenced this issue Nov 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant