Skip to content

Commit

Permalink
minor #12948 [FrameworkBundle] Mention that setting router.utf8 is no…
Browse files Browse the repository at this point in the history
…w mandatory (javiereguiluz)

This PR was squashed before being merged into the master branch (closes #12948).

Discussion
----------

[FrameworkBundle] Mention that setting router.utf8 is now mandatory

This fixes #12936.

Commits
-------

51cf7f0 [FrameworkBundle] Mention that setting router.utf8 is now mandatory
  • Loading branch information
javiereguiluz committed Jan 17, 2020
2 parents be71551 + 51cf7f0 commit 5fea325
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions reference/configuration/framework.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1172,6 +1172,11 @@ utf8

**type**: ``boolean`` **default**: ``false``

.. deprecated:: 5.1

Not setting this option is deprecated since Symfony 5.1. Moreover, the
default value of this option will change to ``true`` in Symfony 6.0.

When this option is set to ``true``, the regular expressions used in the
:ref:`requirements of route parameters <routing-requirements>` will be run
using the `utf-8 modifier`_. This will for example match any UTF-8 character
Expand Down

0 comments on commit 5fea325

Please sign in to comment.