You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Justin Ross (JIRA)" <ji...@apache.org> on 2018/03/14 03:27:00 UTC
[jira] [Closed] (QPID-1939) Accept user:password in python client
URL
[ https://issues.apache.org/jira/browse/QPID-1939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Ross closed QPID-1939.
-----------------------------
Resolution: Won't Fix
This API has been supplanted by Proton Python, which does accept ":" separating user and password.
> Accept user:password in python client URL
> -----------------------------------------
>
> Key: QPID-1939
> URL: https://issues.apache.org/jira/browse/QPID-1939
> Project: Qpid
> Issue Type: Improvement
> Components: Python Client
> Environment: any.
> Reporter: mARK bLOORE
> Assignee: Justin Ross
> Priority: Minor
>
> in python/qpid/util.py, lines 84-87 are
> RE = re.compile(r"""
> # [ <scheme>:// ] [ <user> [ / <password> ] @] <host> [ :<port> ]
> ^ (?: ([^:/@]+)://)? (?: ([^:/@]+) (?: / ([^:/@]+) )? @)? ([^@:/]+) (?: :([0-9]+))?$
> """, re.X)
> this matches user/password in a (partial) URL. it should be user:password.
> qpid.util.URL('scheme://user:pass@host:12')
> raises a ValueError.
--
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