File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 ],
1313 "require" : {
1414 "phing/phing" : " ~2.9" ,
15- "drush/drush" : " ~ 6.5"
15+ "drush/drush" : " 6.5 - 7.0 "
1616 },
1717 "autoload" : {
1818 "psr-0" : {
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ public function toString() {
9090 $ value = $ this ->getValue ();
9191 $ str = '-- ' . $ name ;
9292 if (!empty ($ value )) {
93- $ str .= '= ' . $ value ;
93+ $ str .= '=" ' . escapeshellcmd ( $ value) . ' " ' ;
9494 }
9595 return $ str ;
9696 }
Original file line number Diff line number Diff line change @@ -389,7 +389,7 @@ public function main() {
389389 $ command [] = $ this ->command ;
390390
391391 foreach ($ this ->params as $ param ) {
392- $ command [] = $ param ->getValue ();
392+ $ command [] = ' " ' . escapeshellcmd ( $ param ->getValue ()) . ' " ' ;
393393 }
394394
395395 $ command = implode (' ' , $ command );
You can’t perform that action at this time.
0 commit comments