Skip to content

Commit 5fea325

Browse files
committed
minor #12948 [FrameworkBundle] Mention that setting router.utf8 is now 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
2 parents be71551 + 51cf7f0 commit 5fea325

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

reference/configuration/framework.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1172,6 +1172,11 @@ utf8
11721172

11731173
**type**: ``boolean`` **default**: ``false``
11741174

1175+
.. deprecated:: 5.1
1176+
1177+
Not setting this option is deprecated since Symfony 5.1. Moreover, the
1178+
default value of this option will change to ``true`` in Symfony 6.0.
1179+
11751180
When this option is set to ``true``, the regular expressions used in the
11761181
:ref:`requirements of route parameters <routing-requirements>` will be run
11771182
using the `utf-8 modifier`_. This will for example match any UTF-8 character

0 commit comments

Comments
 (0)