Bug #65711 » patch.diff

Kay Strobach, 2015-03-13 09:06

View differences:

Classes/TYPO3/Surf/Task/LocalShellTask.php
40 40
	public function execute(Node $node, Application $application, Deployment $deployment, array $options = array()) {
41 41
		$replacePaths = array();
42 42
		$workspacePath = $deployment->getWorkspacePath($application);
43
		$replacePaths['{workspacePath}'] = $workspacePath;
43
		$replacePaths['{workspacePath}'] = escapeshellarg($workspacePath);
44 44

  
45 45
		if (!isset($options['command'])) {
46 46
			throw new \TYPO3\Surf\Exception\InvalidConfigurationException('Missing "command" option for LocalShellTask', 1311168045);
    (1-1/1)