Hm, that doesn't sit right with me…I'm sure there's a reason that's the case, but it sounds like a bug...
John On Feb 19, 2013, at 1:22 PM, Mike Tutkowski <mike.tutkow...@solidfire.com> wrote: > Hi, > > I've been able to make several successful API calls to CloudStack, but last > night - for the first time - I wanted to use the space character (in a > description field) for the first time. > > My call failed. I believe it was because my URL encoder converts a space > to a plus and it looks like we don't want that when coming up with the > string that's used to generate our signature: > > > > For each field-value pair (as separated by a '&') in the Command String, > URL encode each value so that it can be safely sent via HTTP GET. > Note > Make sure all spaces are encoded as "%20" rather than "+". > I'm just using the URLEncoder class in java.net. > > Does anyone know of a way for me to tell it to use %20 instead of a plus > symbol? > > Thanks! > > -- > *Mike Tutkowski* > *Senior CloudStack Developer, SolidFire Inc.* > e: mike.tutkow...@solidfire.com > o: 303.746.7302 > Advancing the way the world uses the > cloud<http://solidfire.com/solution/overview/?video=play> > *™* Stratosec - Secure Infrastructure as a Service o: 415.315.9385 @johnlkinsella