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

Commit129ce96

Browse files
Add documentation for query_enc_type configuration
1 parent25075f7 commit129ce96

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

‎reference/configuration/framework.rst‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ Configuration
114114

115115
* `http_port`_
116116
* `https_port`_
117+
* `query_enc_type`_
117118
* `resource`_
118119
* `strict_requirements`_
119120
* `type`_
@@ -740,6 +741,20 @@ The value can be one of:
740741
``true`` is recommended in the development environment, while ``false``
741742
or ``null`` might be preferred in production.
742743

744+
query_enc_type
745+
..............
746+
747+
**type**: ``string`` **default**: ``'!php/const PHP_QUERY_RFC3986'``
748+
749+
Determines how the routing generator encodes spaces in query strings.
750+
751+
The value can either:
752+
753+
``'!php/const PHP_QUERY_RFC1738'``
754+
Encode spaces as ``+`` according to `RFC 1738`_
755+
``'!php/const PHP_QUERY_RFC3986'``
756+
Encode spaces as ``%20`` according to `RFC 3986`_
757+
743758
.. _config-framework-session:
744759

745760
session
@@ -1979,6 +1994,8 @@ available, or to ``flock`` otherwise. Store's DSN are also allowed.
19791994
.. _`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
19801995
.. _`Doctrine Cache`:http://docs.doctrine-project.org/projects/doctrine-common/en/latest/reference/caching.html
19811996
.. _`egulias/email-validator`:https://github.com/egulias/EmailValidator
1997+
.. _`RFC 1738`:https://tools.ietf.org/html/rfc1738
1998+
.. _`RFC 3986`:https://tools.ietf.org/html/rfc3986
19821999
.. _`RFC 5322`:https://tools.ietf.org/html/rfc5322
19832000
.. _`PhpStormProtocol`:https://github.com/aik099/PhpStormProtocol
19842001
.. _`phpstorm-url-handler`:https://github.com/sanduhrs/phpstorm-url-handler

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp