File tree 4 files changed +0
-14
lines changed
components/http_foundation
4 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -27,10 +27,6 @@ your proxy as follows:
27
27
// front controller) to only trust proxy headers coming from these IP addresses
28
28
Request::setTrustedProxies(array('192.0.0.1', '10.0.0.0/8'));
29
29
30
- .. versionadded :: 2.3
31
- CIDR notation support was introduced in Symfony 2.3, so you can whitelist whole
32
- subnets (e.g. ``10.0.0.0/8 ``, ``fc00::/7 ``).
33
-
34
30
You should also make sure that your proxy filters unauthorized use of these
35
31
headers, e.g. if a proxy natively uses the ``X-Forwarded-For `` header, it
36
32
should not allow clients to send ``Forwarded `` headers to Symfony.
Original file line number Diff line number Diff line change @@ -180,10 +180,6 @@ and ``redirect()`` methods::
180
180
return $this->redirect('http://symfony.com/doc');
181
181
}
182
182
183
- .. versionadded :: 2.6
184
- The ``redirectToRoute() `` method was introduced in Symfony 2.6. Previously (and still now), you
185
- could use ``redirect() `` and ``generateUrl() `` together for this.
186
-
187
183
For more information, see the :doc: `Routing article </routing >`.
188
184
189
185
.. caution ::
Original file line number Diff line number Diff line change @@ -1452,9 +1452,6 @@ name_converter
1452
1452
1453
1453
**type **: ``string ``
1454
1454
1455
- .. versionadded :: 2.8
1456
- The ``name_converter `` option was introduced in Symfony 2.8.
1457
-
1458
1455
The name converter to use.
1459
1456
The :class: `Symfony\\ Component\\ Serializer\\ NameConverter\\ CamelCaseToSnakeCaseNameConverter `
1460
1457
name converter can enabled by using the ``serializer.name_converter.camel_case_to_snake_case ``
Original file line number Diff line number Diff line change @@ -223,9 +223,6 @@ A service leveraging `APCu`_ (and APC for PHP < 5.5) is built-in.
223
223
Enabling a Name Converter
224
224
-------------------------
225
225
226
- .. versionadded :: 2.8
227
- The ``name_converter `` option was introduced in Symfony 2.8.
228
-
229
226
The use of a :ref: `name converter <component-serializer-converting-property-names-when-serializing-and-deserializing >`
230
227
service can be defined in the configuration using the :ref: `name_converter <reference-serializer-name_converter >`
231
228
option.
You can’t perform that action at this time.
0 commit comments