Skip to content

Commit 357a3e9

Browse files
committed
[HttpFoundation] Mention issues with generated URL hashes
1 parent e0eef28 commit 357a3e9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

routing.rst

+6
Original file line numberDiff line numberDiff line change
@@ -2805,6 +2805,12 @@ service, which you can inject in your services or controllers::
28052805
``Symfony\Component\HttpKernel\UriSigner`` to
28062806
``Symfony\Component\HttpFoundation\UriSigner``.
28072807

2808+
.. note::
2809+
2810+
The generated URI hashes may include the ``/`` and ``+`` characters, which
2811+
can cause issues with certain clients. If you encounter this problem, replace
2812+
them using the following: ``strtr($hash, ['/' => '_', '+' => '-'])``.
2813+
28082814
Troubleshooting
28092815
---------------
28102816

0 commit comments

Comments
 (0)