Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368883 - TCF command doesn't allow JSON strings to contain spaces
Summary: TCF command doesn't allow JSON strings to contain spaces
Status: RESOLVED FIXED
Alias: None
Product: TCF
Classification: Tools
Component: Agent (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.0.0   Edit
Assignee: Project Inbox CLA
QA Contact: Eugene Tarassov CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-17 16:10 EST by Chris Wyse CLA
Modified: 2013-06-05 05:42 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Wyse CLA 2012-01-17 16:10:30 EST
Build Identifier: 

The "tcf" command accepts a service name, a command, and then various parameters, which are all JSON objects.  The "tcf" command should parse the final parameters as json objects instead of space delimited arguments.  This would allow spaces within strings passed to the command.

Reproducible: Always

Steps to Reproduce:
1.Start agent
2.connect
3.Issue tcf command that includes a string with spaces as a parameter.
Comment 1 Eugene Tarassov CLA 2012-01-17 19:37:10 EST
I have changed the code to treat space as delimiter only between JSON objects. Inside a string, spaces are now preserved. In other parts of JSON text, spaces are ignored.
Fixed.
Thanks.