mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Fix cmd splitting paths on commas (#10775)
This commit is contained in:
parent
aeb204bb1d
commit
2837585e47
2 changed files with 5 additions and 1 deletions
|
@ -178,6 +178,9 @@ class ProcessExecutorTest extends TestCase
|
|||
// no whitespace must not be quoted
|
||||
'no-ws' => array('abc', 'abc', "'abc'"),
|
||||
|
||||
// commas must be quoted
|
||||
'comma' => array('a,bc', '"a,bc"', "'a,bc'"),
|
||||
|
||||
// double-quotes must be backslash-escaped
|
||||
'dq' => array('a"bc', 'a\^"bc', "'a\"bc'"),
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue