Skip to content

Commit 544a164

Browse files
committed
Merge branch '6.2' into 6.3
* 6.2: [FrameworkBundle] Update the http_method_override default value explanation
2 parents 13f969c + b305277 commit 544a164

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

reference/configuration/framework.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,14 +188,21 @@ bootstrap the Symfony framework on a cache hit.
188188
http_method_override
189189
~~~~~~~~~~~~~~~~~~~~
190190

191-
**type**: ``boolean`` **default**: ``true``
191+
**type**: ``boolean`` **default**: (see explanation below)
192192

193193
This determines whether the ``_method`` request parameter is used as the
194194
intended HTTP method on POST requests. If enabled, the
195195
:method:`Request::enableHttpMethodParameterOverride <Symfony\\Component\\HttpFoundation\\Request::enableHttpMethodParameterOverride>`
196196
method gets called automatically. It becomes the service container parameter
197197
named ``kernel.http_method_override``.
198198

199+
The **default value** is:
200+
201+
* ``true``, if you have an existing application that you've upgraded from an older
202+
Symfony version without resyncing the :doc:`Symfony Flex </setup/flex>` recipes;
203+
* ``false``, if you've created a new Symfony application or updated the Symfony
204+
Flex recipes. This is also the default value starting from Symfony 7.0.
205+
199206
.. seealso::
200207

201208
:ref:`Changing the Action and HTTP Method <forms-change-action-method>` of

0 commit comments

Comments
 (0)