You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Kim van der Riet (JIRA)" <ji...@apache.org> on 2018/01/26 17:30:00 UTC

[jira] [Updated] (QPIDIT-70) [amqpnetlite] Receiver shim does not properly encode json results

     [ https://issues.apache.org/jira/browse/QPIDIT-70?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kim van der Riet updated QPIDIT-70:
-----------------------------------
    Affects Version/s:     (was: Future)

> [amqpnetlite] Receiver shim does not properly encode json results
> -----------------------------------------------------------------
>
>                 Key: QPIDIT-70
>                 URL: https://issues.apache.org/jira/browse/QPIDIT-70
>             Project: Apache QPID Interoperability Test Suite
>          Issue Type: Bug
>          Components: .Net Lite Shim
>            Reporter: Chuck Rolke
>            Assignee: Chuck Rolke
>            Priority: Major
>             Fix For: 0.1.0
>
>
> Strings containing a backslash fail and the rules governing backslashes are not clear. 
> In debug tests with the console printing the sent/received payloads AmqpNetLite and ProtonCpp show:
> Sender (both cases):
> {noformat}
> '["", "12345", "Hello, world", "\\\\x01\\\\x02\\\\x03\\\\x04\\\\x05abcde\\\\x80\\\\x81\\\\xfe\\\\xff"]'
> {noformat}
> ProtonCpp works by returning:
> {noformat}
> binary
> ["","12345","Hello, world","\\x01\\x02\\x03\\x04\\x05abcde\\x80\\x81\\xfe\\xff"]
> {noformat}
> AmqpNetLite fails by returning:
> {noformat}
> ["", "12345", "Hello, world", "\x01\x02\x03\x04\x05abcde\x80\x81\xfe\xff"]{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org