File tree 1 file changed +18
-1
lines changed 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ Configuration
16
16
-------------
17
17
18
18
* `secret `_
19
+ * `http_method_override `_
19
20
* `ide `_
20
21
* `test `_
21
22
* `trust_proxy_headers `_
@@ -49,6 +50,21 @@ it's used for generating the CSRF tokens, but it could be used in any other
49
50
context where having a unique string is useful. It becomes the service container
50
51
parameter named ``kernel.secret ``.
51
52
53
+ http_method_override
54
+ ~~~~~~
55
+
56
+ .. versionadded :: 2.3
57
+ The ``http_method_override `` option is new in version 2.3
58
+
59
+ **type **: ``Boolean `` **default **: ``true ``
60
+
61
+ This determines whether the '_method' request parameter is used as the intended
62
+ HTTP method on POST requests. If enabled, the
63
+ :method: `Request::enableHttpMethodParameterOverride <Symfony\\ Component\\ HttpFoundation\\ Request::enableHttpMethodParameterOverride> `
64
+ gets called automatically. It becomes the service container parameter named
65
+ ``kernel.http_method_override ``. For more information, see
66
+ :doc: `/cookbook/routing/method_parameters `.
67
+
52
68
ide
53
69
~~~
54
70
@@ -379,6 +395,7 @@ Full Default Configuration
379
395
framework :
380
396
charset : ~
381
397
secret : ~
398
+ http_method_override : true
382
399
trust_proxy_headers : false
383
400
trusted_proxies : []
384
401
ide : ~
@@ -405,7 +422,7 @@ Full Default Configuration
405
422
profiler :
406
423
enabled : false
407
424
only_exceptions : false
408
- only_master_requests : false
425
+ only_master_requests : false
409
426
dsn : file:%kernel.cache_dir%/profiler
410
427
username :
411
428
password :
You can’t perform that action at this time.
0 commit comments