Index: trunk/phase3/includes/GlobalFunctions.php |
— | — | @@ -2929,8 +2929,8 @@ |
2930 | 2930 | $cmd[] = $options['wrapper']; |
2931 | 2931 | } |
2932 | 2932 | $cmd[] = $script; |
2933 | | - // Escape each parameter for shell |
2934 | | - return implode( " ", array_map( 'wfEscapeShellArg', array_merge( $cmd, $parameters ) ) ); |
| 2933 | + // Build up the full command, shell escaping each parameter |
| 2934 | + return implode( ' ', array_merge( $cmd, array_map( 'wfEscapeShellArg', $parameters ) ) ); |
2935 | 2935 | } |
2936 | 2936 | |
2937 | 2937 | /** |