File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -1191,7 +1191,11 @@ utf8
11911191
11921192**type **: ``boolean `` **default **: ``false ``
11931193
1194- When this option is set to ``true ``, route patterns can include UTF-8 characters.
1194+ When this option is set to ``true ``, the regular expressions used in the
1195+ :ref: `requirements of route parameters <routing-requirements >` will be run
1196+ using the `utf-8 modifier `_. This will for example match any UTF-8 character
1197+ when using ``. ``, instead of matching only a single byte.
1198+
11951199If the charset of your application is UTF-8 (as defined in the
11961200:ref: `getCharset() method <configuration-kernel-charset >` of your kernel) it's
11971201recommended to set it to ``true ``. This will make non-UTF8 URLs to generate 404
@@ -3090,3 +3094,4 @@ to know their differences.
30903094.. _`haveibeenpwned.com` : https://haveibeenpwned.com/
30913095.. _`session.cache-limiter` : https://www.php.net/manual/en/session.configuration.php#ini.session.cache-limiter
30923096.. _`Microsoft NTLM authentication protocol` : https://docs.microsoft.com/en-us/windows/desktop/secauthn/microsoft-ntlm
3097+ .. _`utf-8 modifier` : https://www.php.net/reference.pcre.pattern.modifiers
You can’t perform that action at this time.
0 commit comments