Uploaded image for project: 'Apache QPID Interoperability Test Suite'
  1. Apache QPID Interoperability Test Suite
  2. QPIDIT-70

[amqpnetlite] Receiver shim does not properly encode json results

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.1.0
    • Component/s: .Net Lite Shim
    • Labels:
      None

      Description

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

      '["", "12345", "Hello, world", "\\\\x01\\\\x02\\\\x03\\\\x04\\\\x05abcde\\\\x80\\\\x81\\\\xfe\\\\xff"]'
      

      ProtonCpp works by returning:

      binary
      ["","12345","Hello, world","\\x01\\x02\\x03\\x04\\x05abcde\\x80\\x81\\xfe\\xff"]
      

      AmqpNetLite fails by returning:

      ["", "12345", "Hello, world", "\x01\x02\x03\x04\x05abcde\x80\x81\xfe\xff"]

        Attachments

          Activity

            People

            • Assignee:
              chug Charles E. Rolke
              Reporter:
              chug Charles E. Rolke
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: