Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-8084

QMF management client sends binary application property keys under Python 2

    XMLWordPrintableJSON

Details

    Description

      The AMQP 1.0 spec states that message application property keys MUST be strings.

      Under Python 2.x, the QMF client communicates with the broker using binary strings as keys in the application properties to pass QMF commands.

      Two issues arise:

      1. The Python client should not accept binary keys in application properties
      2. The broker appears to accept this without warning or error. This could be considered undefined behavior, however.

      The reproducer can be found in QPID-8075. The attached Wireshark file shows the transfer in frame 18.

      Attachments

        1. py2.pcapng
          6 kB
          Kim van der Riet

        Activity

          People

            kpvdr Kim van der Riet
            kpvdr Kim van der Riet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: