@@ -1672,144 +1672,6 @@ value.
16721672 For more information, see
16731673 :ref: `component-serializer-converting-property-names-when-serializing-and-deserializing `.
16741674
1675- Full Default Configuration
1676- --------------------------
1677-
1678- .. configuration-block ::
1679-
1680- .. code-block :: yaml
1681-
1682- framework :
1683- secret : ~
1684- http_method_override : true
1685- trusted_proxies : []
1686- ide : ~
1687- test : ~
1688- default_locale : en
1689-
1690- csrf_protection :
1691- enabled : false
1692- field_name : _token # Deprecated since 2.4, to be removed in 3.0. Use form.csrf_protection.field_name instead
1693-
1694- # form configuration
1695- form :
1696- enabled : false
1697- csrf_protection :
1698- enabled : true
1699- field_name : ~
1700-
1701- # esi configuration
1702- esi :
1703- enabled : false
1704-
1705- # fragments configuration
1706- fragments :
1707- enabled : false
1708- path : /_fragment
1709-
1710- # profiler configuration
1711- profiler :
1712- enabled : false
1713- collect : true
1714- only_exceptions : false
1715- only_master_requests : false
1716- dsn : file:%kernel.cache_dir%/profiler
1717- username : ~ # deprecated since 2.8, to be removed in 3.0.
1718- password : ~ # deprecated since 2.8, to be removed in 3.0.
1719- lifetime : 86400 # deprecated since 2.8, to be removed in 3.0.
1720- matcher :
1721- ip : ~
1722-
1723- # use the urldecoded format
1724- path : ~ # Example: ^/path to resource/
1725- service : ~
1726-
1727- # router configuration
1728- router :
1729- resource : ~ # Required
1730- type : ~
1731- http_port : 80
1732- https_port : 443
1733-
1734- # * set to true to throw an exception when a parameter does not
1735- # match the requirements
1736- # * set to false to disable exceptions when a parameter does not
1737- # match the requirements (and return null instead)
1738- # * set to null to disable parameter checks against requirements
1739- #
1740- # 'true' is the preferred configuration in development mode, while
1741- # 'false' or 'null' might be preferred in production
1742- strict_requirements : true
1743-
1744- # session configuration
1745- session :
1746- storage_id : session.storage.native
1747- handler_id : session.handler.native_file
1748- name : ~
1749- cookie_lifetime : ~
1750- cookie_path : ~
1751- cookie_domain : ~
1752- cookie_secure : ~
1753- cookie_httponly : ~
1754- gc_divisor : ~
1755- gc_probability : ~
1756- gc_maxlifetime : ~
1757- save_path : ' %kernel.cache_dir%/sessions'
1758-
1759- # serializer configuration
1760- serializer :
1761- enabled : false
1762-
1763- # assets configuration
1764- assets :
1765- base_path : ~
1766- base_urls : []
1767- version : ~
1768- version_format : ' %%s?%%s'
1769- packages :
1770-
1771- # Prototype
1772- name :
1773- base_path : ~
1774- base_urls : []
1775- version : ~
1776- version_format : ' %%s?%%s'
1777-
1778- # templating configuration
1779- templating :
1780- hinclude_default_template : ~
1781- form :
1782- resources :
1783-
1784- # Default:
1785- - FrameworkBundle:Form
1786- cache : ~
1787- engines : # Required
1788-
1789- # Example:
1790- - twig
1791- loaders : []
1792-
1793- # translator configuration
1794- translator :
1795- enabled : false
1796- fallbacks : [en]
1797- logging : " %kernel.debug%"
1798- paths : []
1799-
1800- # validation configuration
1801- validation :
1802- enabled : false
1803- cache : ~
1804- enable_annotations : false
1805- translation_domain : validators
1806-
1807- # annotation configuration
1808- annotations :
1809- cache : file
1810- file_cache_dir : ' %kernel.cache_dir%/annotations'
1811- debug : ' %kernel.debug%'
1812-
18131675.. _`HTTP Host header attacks` : http://www.skeletonscribe.net/2013/05/practical-http-host-header-attacks.html
18141676.. _`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
18151677.. _`Doctrine Cache` : http://docs.doctrine-project.org/projects/doctrine-common/en/latest/reference/caching.html
0 commit comments