cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-9773) Don't break API output with non-printable characters
Date Mon, 06 Feb 2017 20:41:41 GMT

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

ASF GitHub Bot commented on CLOUDSTACK-9773:
--------------------------------------------

GitHub user marcaurele opened a pull request:

    https://github.com/apache/cloudstack/pull/1936

    [CLOUDSTACK-9773] API: don't break API output with non-printable characters

    Signed-off-by: Marc-Aurèle Brothier <m@brothier.org>

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/exoscale/cloudstack CLOUDSTACK-9773

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/1936.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1936
    
----
commit 215d8f6752219933e6b93f4f0c8579086f6ddcf9
Author: Marc-Aurèle Brothier <m@brothier.org>
Date:   2017-02-06T15:18:23Z

    API: don't break API output with non-printable characters
    
    Signed-off-by: Marc-Aurèle Brothier <m@brothier.org>

----


> Don't break API output with non-printable characters
> ----------------------------------------------------
>
>                 Key: CLOUDSTACK-9773
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9773
>             Project: CloudStack
>          Issue Type: Improvement
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: Marc-Aurèle Brothier
>            Assignee: Marc-Aurèle Brothier
>
> When sending non printable characters, the response returns them as they were sent, thus
potentially breaking the JSON/XML parser on the other side. Best would be to not include such
invalid character in the response.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message