util.URL mis-parses username:password -------------------------------------
Key: QPID-1939 URL: https://issues.apache.org/jira/browse/QPID-1939 Project: Qpid Issue Type: Bug 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:p...@host:12') raises a ValueError. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org