Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1692

using connection url meets error(使用连接连接地址遇到错误)

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.7.1
    • Component/s: Connection Mgmt
    • Environment:
      centos

      Desc: using url connects client crashed when password contains "%" and numbers.

      Eg:
      ```
      import pymongo
      cli = pymongo.MongoClient('mongodb://my_user_name:8888%04d@my_mongo_ip:my_port')

      cli.admin.command('buildinfo')
      ```
      error:
      ```
      pymongo.errors.OperationFailure: Authentication failed.
      ```

            Assignee:
            prashant.mital Prashant Mital (Inactive)
            Reporter:
            kougazhang kougazhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: