Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add notes about kernel.trusted_proxies parameter

  • Loading branch information...
commit 4d40b115e758559f26f0f1a6d11d98969cd0abf6 1 parent d97829e
@benja-M-1 benja-M-1 authored
Showing with 21 additions and 0 deletions.
  1. +21 −0 UPGRADE-2.2.md
View
21 UPGRADE-2.2.md
@@ -362,3 +362,24 @@
protected $gender;
```
+### FrameworkBundle
+
+#### Configuration
+
+ * The 2.2 version introduces a new parameter ```trusted_proxies``` that replaces ```trust_proxy_headers``` in the framework configuration.
+
+ Before:
+
+ ```
+ # app/config/config.yml
+ framework:
+ trust_proxy_headers: false
+ ```
+
+ After:
+
+ ```
+ # app/config/config.yml
+ framework:
+ trusted_proxies: []
+ ```
Please sign in to comment.
Something went wrong with that request. Please try again.