Files
ha-core/tests
Colin O'Dell fd38caa287 X-Forwarded-For improvements and bug fixes (#15204)
* Use new trusted_proxies setting for X-Forwarded-For whitelist

* Only use the last IP in the header

Per Wikipedia (https://en.wikipedia.org/wiki/X-Forwarded-For#Format):

 > The last IP address is always the IP address that connects to the last proxy,
 > which means it is the most reliable source of information.

* Add two additional tests

* Ignore nonsense header values instead of failing
2018-06-29 16:27:06 -04:00
..
2018-06-28 22:14:26 -04:00
2018-06-28 22:14:26 -04:00
2018-06-28 22:14:26 -04:00
2018-02-22 23:22:27 -08:00
2018-01-27 11:58:27 -08:00