Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f93dc8e

Browse files
authored
Include % as a Special Character in URIs
Docs for Doctrine customization should explain that a `%` char is special in urlencoded string input.
1 parent 5790b77 commit f93dc8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doctrine.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ The database connection information is stored as an environment variable called
6161
.. caution::
6262

6363
If the username, password, host or database name contain any character considered
64-
special in a URI (such as ``+``, ``@``, ``$``, ``#``, ``/``, ``:``, ``*``, ``!``),
64+
special in a URI (such as ``+``, ``@``, ``$``, ``#``, ``/``, ``:``, ``*``, ``!``, ``%``),
6565
you must encode them. See `RFC 3986`_ for the full list of reserved characters or
6666
use the :phpfunction:`urlencode` function to encode them. In this case you need to
6767
remove the ``resolve:`` prefix in ``config/packages/doctrine.yaml`` to avoid errors:

0 commit comments

Comments
 (0)