You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robbie Gemmell (JIRA)" <ji...@apache.org> on 2019/04/11 16:40:00 UTC

[jira] [Updated] (PROTON-2010) [python] JSON connection config: comments and SASL mechs don't work

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

Robbie Gemmell updated PROTON-2010:
-----------------------------------
    Fix Version/s: proton-c-0.28.0
                   proton-c-0.27.1

> [python] JSON connection config: comments and SASL mechs don't work
> -------------------------------------------------------------------
>
>                 Key: PROTON-2010
>                 URL: https://issues.apache.org/jira/browse/PROTON-2010
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: python-binding
>            Reporter: Kim van der Riet
>            Assignee: Kim van der Riet
>            Priority: Major
>             Fix For: proton-c-0.27.1, proton-c-0.28.0
>
>
> If the JSON connection config file contains C/C++-style comments, or a list of SASL mechanisms, then the client errors.
> The JSON specification does not allow for comments. However, the connection config file specifies that c/c++ comments may be embedded within the JSON. A comment eliminator needs to be used before the JSON is loaded.
> The call to pn_sasl_allowed_mechs() requires a const char* space-separated list of SASL mechs. The python does not correctly handle this case, as it is passing the mechs as a Python list of strings. A single string containing a mech instead of a list in the JSON should also be handled.



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