We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following tilde expansion check is insufficient on windows if the input path uses backslash notation:
shellexpand/src/lib.rs
Lines 665 to 690 in e707d07
Specifically the test:
if input_after_tilde.is_empty() || input_after_tilde.starts_with("/") {
The path "~/.cargo" e.g. would expand correctly, however "~\\.cargo" would fail to expand correctly.
"~/.cargo"
"~\\.cargo"
The text was updated successfully, but these errors were encountered:
Hi. As discussed in #17 I am taking over maintenance of this crate. The new repository is here: https://gitlab.com/ijackson/rust-shellexpand
I think I agree with this bug report. I have reproduced it here https://gitlab.com/ijackson/rust-shellexpand/-/issues/4 in the new repo. I'm afraid I don't have time to fix it right now but I would welcome an MR.
Sorry, something went wrong.
this should really go into the readme
No branches or pull requests
The following tilde expansion check is insufficient on windows if the input path uses backslash notation:
shellexpand/src/lib.rs
Lines 665 to 690 in e707d07
Specifically the test:
The path
"~/.cargo"
e.g. would expand correctly, however"~\\.cargo"
would fail to expand correctly.The text was updated successfully, but these errors were encountered: