Closed
Description
The setTrustedProxies
method of HTTPFoundation's Request
class should allow entire subnets to be specified, not just individual IP addresses. Example use case: when deploying a Symfony2 application to EC2 instances which are placed behind an Elastic Load Balancer, the ELB can connect to the EC2 instances with any address in the 10.0.0.0/8
subnet.