AbstractCmdlineEncoderEngine#buildArgumentList() for command line does not respect quoted args

Steps to reproduce

Steps to reproduce:

consider command line statement with two args:
echo -n "Hello World"

Actual Results:

AbstractCmdlineEncoderEngine#buildArgumentList() will return the list:
"-n"
"\"Hello"
"World\""

Expected Results:

AbstractCmdlineEncoderEngine#buildArgumentList() should return the list:
"-n"
"Hello World"

Workaround (if any):

None that I can see. You can't escape the space with a back-slash.

Activity

Show:
John Crossman
June 20, 2013, 1:44 AM

see svn rev 14935

AbstractCmdlineEncoderEngine.java, line number 390

Greg Logan
August 2, 2013, 5:40 PM

Merged into trunk with rev 15203, merged into 1.4.x with rev 15204.

Fixed and reviewed

Assignee

John Crossman

Reporter

John Crossman

Severity

Incorrectly Functioning Without Workaround

Tags (folksonomy)

Time tracking

0m

Time remaining

45m

Components

Fix versions

Affects versions

Priority

Major
Configure