PYTHON-3678 Username/password needs to be escaped with quote_plus to account for '/' (#1193)
This commit is contained in:
parent
2cc8fb1f2e
commit
79488d95db
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user