There was an error while loading. Please reload this page.
1 parent 0edd1cd commit 097e7e7Copy full SHA for 097e7e7
doc/examples/authentication.rst
@@ -12,6 +12,7 @@ If your username or password contains special characters (e.g. '/', ' ',
12
or '@') you must ``%xx`` escape them for use in the MongoDB URI. PyMongo
13
uses :meth:`~urllib.unquote_plus` to decode them. For example::
14
15
+ >>> from pymongo import MongoClient
16
>>> import urllib
17
>>> password = urllib.quote_plus('pass/word')
18
>>> password
0 commit comments