-
Notifications
You must be signed in to change notification settings - Fork 58
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
Quoting of argument is not working correctly when adding wslpath #91
Comments
When are quotes actually used? So wslgit.exe should never get arguments that contain quotes, unless someone really wants a literal @andy-5 What do you think? I have implemented a possible fix for this, I'll push it for review. |
I think your line of thought is correct. If there are quotes in arguments, they are explicitly added as you described, so wslgit should escape them again. |
Yes the PR fixes the example above. |
When injecting wslpath in an argument then the argument to wslpath is quoted with single-quotes, this cause the argument be considered as "already quoted" at
wslgit/src/main.rs
Line 132 in 3dd36bd
The quoting of arguments must become smarter, maybe ignore the quotes found in
$(wslpath ...)
The text was updated successfully, but these errors were encountered: