[
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: [email protected]
For additional commands, e-mail: [email protected]