Skip to content

Commit 2870811

Browse files
committed
minor #12636 Fixed the explanation of the utf8 router option (javiereguiluz)
This PR was merged into the 4.3 branch. Discussion ---------- Fixed the explanation of the utf8 router option Commits ------- 6884e4d Fixed the explanation of the utf8 router option
2 parents 93ef5f2 + 6884e4d commit 2870811

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

reference/configuration/framework.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1152,7 +1152,10 @@ utf8
11521152

11531153
**type**: ``boolean`` **default**: ``false``
11541154

1155-
When this option is set to ``true``, route patterns can include UTF-8 characters.
1155+
When this option is set to ``true``, the regular expressions used in the
1156+
:ref:`requirements of route parameters <routing-requirements>` will match any
1157+
UTF-8 character when using ``.``, instead of matching only a single byte.
1158+
11561159
If the charset of your application is UTF-8 (as defined in the
11571160
:ref:`getCharset() method <configuration-kernel-charset>` of your kernel) it's
11581161
recommended to set it to ``true``. This will make non-UTF8 URLs to generate 404

0 commit comments

Comments
 (0)