TYPO3 / Surf

Easy and powerful PHP deployment tool
https://docs.typo3.org/other/typo3/surf/master/en-us/
GNU General Public License v3.0
98 stars 53 forks source link

CopyConfigurationTask fails due to double escaped target path #797

Open Sebobo opened 2 months ago

Sebobo commented 2 months ago

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 commented 2 months ago

I can take care of this issue.

simonschaufi commented 2 months ago

That would be great.