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

Kim van der Riet commented on QPID-8084:
----------------------------------------

Reproducer, copied from QPID-8075:
{noformat}
from qmf.client import BrokerAgent
conn_opts = {'url': 'amqp://localhost:5672'}
ba = BrokerAgent.connect(**conn_opts)
print(ba.getAllQueues())
{noformat}

> QMF management client sends binary application property keys under Python 2, 
> Qpid-cpp broker accepts it.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-8084
>                 URL: https://issues.apache.org/jira/browse/QPID-8084
>             Project: Qpid
>          Issue Type: Bug
>          Components: Python Client
>            Reporter: Kim van der Riet
>            Priority: Major
>              Labels: interop
>         Attachments: py2.pcapng
>
>
> 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:
>  # The Python client should not accept binary keys in application properties
>  # 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.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to