Skip to content

askpass: Shell escape Zed path in askpass script (cherry-pick #29447) #29449

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

Merged
merged 1 commit into from
Apr 28, 2025

Conversation

gcp-cherry-pick-bot[bot]
Copy link

Cherry-picked 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)

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)
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Apr 25, 2025
@probably-neb probably-neb merged commit a62a6c4 into v0.184.x Apr 28, 2025
18 checks passed
@probably-neb probably-neb deleted the cherry-pick-f83dd4-v0.184.x branch April 28, 2025 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant