Commit 11b6a695 authored by Jeremy Mikola's avatar Jeremy Mikola

PHPLIB-174: Document that socket paths must be URL-encoded

parent 6dcaeb7f
......@@ -11,8 +11,10 @@ description: |
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.
characters such as ``@``, ``:``, or ``%``. When connecting via a Unix domain
socket, the socket path may contain special characters such as slashes and
must be encoded. 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