-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Group finalize_update shell commands into one command, harden shell c…
…alls with #shellescape, and separate arguments with --
- Loading branch information
1 parent
ec1f06f
commit 483d253
Showing
1 changed file
with
15 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
483d253
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This actually breaks deployments, if your release path is relative to the users home (e.g.
set :deploy_to, "~/releases"
), because~
gets escaped to\\~
. It is also incomplete, because e.g.shared_path
is not escaped.Found this issue to be covered in #300.