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 2013/04/24 15:07:16 UTC
[jira] [Updated] (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 updated QPID-1939:
------------------------------
Issue Type: Improvement (was: Bug)
> 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
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org