askpass: Shell escape Zed path in askpass script (#29447)
Closes #29439 Add shell escaping as well as additional sanity check for Zed path when used in askpass. This caused issues on preview and nightly as the standard paths for those releases contain spaces which were not escaped appropriately leading to erroneous "Permission denied" errors from SSH when the askpass script failed Release Notes: - Fixed a missing shell-escape in askpass resulting in erroneous "Permission denied" errors when trying to connect to a remote server over ssh (effecting preview release v0.184.1 and nightly only)
This commit is contained in:
parent
3961d87ae0
commit
d23024609f
3 changed files with 30 additions and 3 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -446,6 +446,7 @@ dependencies = [
|
|||
"anyhow",
|
||||
"futures 0.3.31",
|
||||
"gpui",
|
||||
"shlex",
|
||||
"smol",
|
||||
"tempfile",
|
||||
"util",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue