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
1191
1191
1192
1192
**type **: ``boolean `` **default **: ``false ``
1193
1193
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
+
1195
1199
If the charset of your application is UTF-8 (as defined in the
1196
1200
:ref: `getCharset() method <configuration-kernel-charset >` of your kernel) it's
1197
1201
recommended to set it to ``true ``. This will make non-UTF8 URLs to generate 404
@@ -3090,3 +3094,4 @@ to know their differences.
3090
3094
.. _`haveibeenpwned.com` : https://haveibeenpwned.com/
3091
3095
.. _`session.cache-limiter` : https://www.php.net/manual/en/session.configuration.php#ini.session.cache-limiter
3092
3096
.. _`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