[
https://issues.apache.org/jira/browse/CLOUDSTACK-8155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14275950#comment-14275950
]
ASF subversion and git services commented on CLOUDSTACK-8155:
-------------------------------------------------------------
Commit 921ad057def3015cda9d9f5861c9be29a88b148e in cloudstack's branch
refs/heads/4.5 from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=921ad05 ]
CLOUDSTACK-8155: Remove unwanted whitespaces from json response
This removes extra whitespaces from the JSON serialized response.
After the fix, tested to work with:
- Present UI
- CloudMonkey
- Old buggy json parsers
Signed-off-by: Rohit Yadav <[email protected]>
> JSON response from Mgmt server has additional spaces, breaks a badly written
> client
> -----------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-8155
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8155
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Affects Versions: 4.5.0, 4.6.0
> Reporter: Rohit Yadav
> Assignee: Rohit Yadav
> Priority: Critical
> Fix For: 4.5.0, 4.6.0
>
>
> If the JSON parser of an old http client does not take into account extra
> whitespaces in the JSON response they may break. The fix is to remove those
> unnecessary whitespaces from ApiResponseSerializer
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)