Surf icon indicating copy to clipboard operation
Surf copied to clipboard

CopyConfigurationTask fails due to double escaped target path

Open Sebobo opened this issue 1 year ago • 2 comments

The escapedTargetPath is as its name says already escaped and is put into quotes in resulting script. This leads to an error when the scp command is called, as the path cannot be resolved:

https://github.com/TYPO3/Surf/blob/c22b941b749fb0d7102615d1ce0025be96473140/src/Task/Neos/Flow/CopyConfigurationTask.php#L78

I assume this error rarely occurs as in most projects, the environment specific configuration is managed on the target system, or (in my case) the copy task is executed on the server itself.

Sebobo avatar Aug 12 '24 11:08 Sebobo

I can take care of this issue.

Sebobo avatar Aug 12 '24 11:08 Sebobo

@Sebobo can you please verify the PR?

simonschaufi avatar Jan 10 '25 11:01 simonschaufi