# askpass: Shell escape Zed path in askpass script \(\#29447\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/d23024609f696b1a6644c552237828ce1e6028d7)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: d23024609f696b1a6644c552237828ce1e6028d7

Requested commit: d23024609f696b1a6644c552237828ce1e6028d7

Commit: d23024609f696b1a6644c552237828ce1e6028d7

Tree: 55f7c61b8f0f9ed54181f050e1b69719db0f9d86

Author: Ben Kunkle

Committer: GitHub

## Message

```
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)
```

## Parents

- [3961d87ae04d4e5ed1c79f3a2e8ca11eede9b2c0](https://git.cafe/gitcafe/zed/commit/3961d87ae04d4e5ed1c79f3a2e8ca11eede9b2c0?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/d23024609f696b1a6644c552237828ce1e6028d7?format=markdown)
