From f93dc8ef25562ee6bec95d06d454178f4a9a2368 Mon Sep 17 00:00:00 2001 From: miqrogroove <1371835+miqrogroove@users.noreply.github.com> Date: Sat, 7 Jan 2023 10:21:43 -0500 Subject: [PATCH] Include % as a Special Character in URIs Docs for Doctrine customization should explain that a `%` char is special in urlencoded string input. --- doctrine.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doctrine.rst b/doctrine.rst index 04cbe6710ca..88b5237e6e1 100644 --- a/doctrine.rst +++ b/doctrine.rst @@ -61,7 +61,7 @@ The database connection information is stored as an environment variable called .. caution:: If the username, password, host or database name contain any character considered - special in a URI (such as ``+``, ``@``, ``$``, ``#``, ``/``, ``:``, ``*``, ``!``), + special in a URI (such as ``+``, ``@``, ``$``, ``#``, ``/``, ``:``, ``*``, ``!``, ``%``), you must encode them. See `RFC 3986`_ for the full list of reserved characters or use the :phpfunction:`urlencode` function to encode them. In this case you need to remove the ``resolve:`` prefix in ``config/packages/doctrine.yaml`` to avoid errors: