From 560604d6ee3ddf41629ddbaf995ced6774473818 Mon Sep 17 00:00:00 2001 From: Simon Schaufelberger Date: Fri, 10 Jan 2025 12:31:30 +0100 Subject: [PATCH] [BUGFIX] Do not double escape path Resolves: #797 --- src/Task/Neos/Flow/CopyConfigurationTask.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Task/Neos/Flow/CopyConfigurationTask.php b/src/Task/Neos/Flow/CopyConfigurationTask.php index cbd0f713..d02f15ec 100644 --- a/src/Task/Neos/Flow/CopyConfigurationTask.php +++ b/src/Task/Neos/Flow/CopyConfigurationTask.php @@ -75,7 +75,7 @@ public function execute(Node $node, Application $application, Deployment $deploy } $createDirectoryCommand = '"mkdir -p ' . $escapedTargetPath . '"'; $commands[] = ltrim("{$expect} ssh {$sshOptions}{$sshPort}{$username}{$hostname} {$createDirectoryCommand}"); - $commands[] = ltrim("{$expect} scp {$sshOptions}{$scpPort}{$escapedSourcePath} {$username}{$hostname}:\"{$escapedTargetPath}\""); + $commands[] = ltrim("{$expect} scp {$sshOptions}{$scpPort}{$escapedSourcePath} {$username}{$hostname}:{$escapedTargetPath}"); } }