Commit c6145256 authored by Jeremy Mikola's avatar Jeremy Mikola

PHPLIB-187: Remind users to encode connection URIs

parent 308f53de
......@@ -7,6 +7,12 @@ description: |
</reference/connection-string>` for formatting.
Defaults to ``"mongodb://127.0.0.1:27017"`` if unspecified.
Any special characters in the URI components need to be encoded according to
`RFC 3986 <http://www.faqs.org/rfcs/rfc3986.html>`_. This is particularly
relevant to the username and password, which can often include special
characters such as ``@``, ``:``, or ``%``. The :php:`rawurlencode()
<rawurlencode>` function may be used to encode constituent parts of the URI.
interface: phpmethod
operation: ~
optional: true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment