Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-1939

Accept user:password in python client URL

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • Python Client
    • None
    • any.

    Description

      in python/qpid/util.py, lines 84-87 are

      RE = re.compile(r"""

      1. [ <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.

      Attachments

        Activity

          People

            jross Justin Ross
            mbloore mARK bLOORE
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: