silverstripe / cwp-core

CWP basic compatibility module
BSD 3-Clause "New" or "Revised" License
3 stars 12 forks source link

[FIX] Configure egress proxy in Middleware #60

Closed ichaber closed 5 years ago

ichaber commented 5 years ago

In InitialisationMiddleWare configure the egress proxy and domain exclusions before delegating the request. This is change fixes an issue where the variables for http_proxy, https_proxy and NO_PROXY are configured after the request is processed by the controller and other Middlewares.

robbieaverill commented 5 years ago

This is now included in https://github.com/silverstripe/cwp-core/pull/61