PYTHON-3678 Username/password needs to be escaped with quote_plus to account for '/' (#1193)

This commit is contained in:
Shane Harvey 2023-04-25 12:30:23 -06:00 committed by GitHub
parent 2cc8fb1f2e
commit 79488d95db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ Percent-Escaping Username and Password
--------------------------------------
Username and password must be percent-escaped with
:py:func:`urllib.parse.quote`, to be used in a MongoDB URI. For example::
:py:func:`urllib.parse.quote_plus`, to be used in a MongoDB URI. For example::
>>> from pymongo import MongoClient
>>> import urllib.parse