Skip to content

Commit 2199b6b

Browse files
committed
minor #20538 [HttpFoundation] Mention issues with generated URL hashes (javiereguiluz)
This PR was merged into the 6.4 branch. Discussion ---------- [HttpFoundation] Mention issues with generated URL hashes Related to #20481. In #20508 we mention that "this problem no longer exist in 7.3". But, I think we should also mention that problem in all the branches before 7.3. Commits ------- 357a3e9 [HttpFoundation] Mention issues with generated URL hashes
2 parents 52209ab + 357a3e9 commit 2199b6b

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)