qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Ross (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (QPID-1939) Accept user:password in python client URL
Date Wed, 15 Mar 2017 12:39:41 GMT

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

Justin Ross reassigned QPID-1939:
---------------------------------

    Assignee: Justin Ross

> 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
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message