Skip to content

Commit

Permalink
minor #20538 [HttpFoundation] Mention issues with generated URL hashe…
Browse files Browse the repository at this point in the history
…s (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
  • Loading branch information
javiereguiluz committed Jan 8, 2025
2 parents 52209ab + 357a3e9 commit 2199b6b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2805,6 +2805,12 @@ service, which you can inject in your services or controllers::
``Symfony\Component\HttpKernel\UriSigner`` to
``Symfony\Component\HttpFoundation\UriSigner``.

.. note::

The generated URI hashes may include the ``/`` and ``+`` characters, which
can cause issues with certain clients. If you encounter this problem, replace
them using the following: ``strtr($hash, ['/' => '_', '+' => '-'])``.

Troubleshooting
---------------

Expand Down

0 comments on commit 2199b6b

Please sign in to comment.