Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf944871

Browse files
Add documentation for query_encoding_type configuration
1 parent3675000 commitf944871

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

‎reference/configuration/framework.rst‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ Configuration
123123
* `strict_requirements`_
124124
* `type`_
125125
* `utf8`_
126+
* `query_encoding_type`_
126127

127128
* `secret`_
128129
* `serializer`_
@@ -758,6 +759,21 @@ If the charset of your application is UTF-8 (as defined in the
758759
recommended to set it to ``true``. This will make non-UTF8 URLs to generate 404
759760
errors.
760761

762+
query_encoding_type
763+
...................
764+
765+
**type**: ``string`` **default**: ``'!php/const PHP_QUERY_RFC3986'``
766+
767+
Determines how the routing generator encodes spaces in query strings.
768+
769+
The value can either:
770+
771+
``'!php/const PHP_QUERY_RFC1738'``
772+
Encode spaces as ``+`` according to `RFC 1738`_
773+
``'!php/const PHP_QUERY_RFC3986'``
774+
Encode spaces as ``%20`` according to `RFC 3986`_
775+
776+
761777
.. _config-framework-session:
762778

763779
session
@@ -2167,6 +2183,8 @@ available, or to ``flock`` otherwise. Store's DSN are also allowed.
21672183
.. _`Security Advisory Blog post`:https://symfony.com/blog/security-releases-symfony-2-0-24-2-1-12-2-2-5-and-2-3-3-released#cve-2013-4752-request-gethost-poisoning
21682184
.. _`Doctrine Cache`:http://docs.doctrine-project.org/projects/doctrine-common/en/latest/reference/caching.html
21692185
.. _`egulias/email-validator`:https://github.com/egulias/EmailValidator
2186+
.. _`RFC 1738`:https://tools.ietf.org/html/rfc1738
2187+
.. _`RFC 3986`:https://tools.ietf.org/html/rfc3986
21702188
.. _`RFC 5322`:https://tools.ietf.org/html/rfc5322
21712189
.. _`PhpStormProtocol`:https://github.com/aik099/PhpStormProtocol
21722190
.. _`phpstorm-url-handler`:https://github.com/sanduhrs/phpstorm-url-handler

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp