cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-8155) JSON response from Mgmt server has additional spaces, breaks a badly written client
Date Tue, 13 Jan 2015 21:14:35 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-8155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14275955#comment-14275955
] 

ASF subversion and git services commented on CLOUDSTACK-8155:
-------------------------------------------------------------

Commit 185f7e0152e3250a19b864a221ee7bb6cc405b51 in cloudstack's branch refs/heads/master from
[~rohit.yadav@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=185f7e0 ]

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 <rohit.yadav@shapeblue.com>
(cherry picked from commit 921ad057def3015cda9d9f5861c9be29a88b148e)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>


> 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)

Mime
View raw message