core/homeassistant/components/emulated_hue
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
..
__init__.py X-Forwarded-For improvements and bug fixes (#15204) 2018-06-29 16:27:06 -04:00
hue_api.py Logitech Pop support for emulated_hue component (#12833) 2018-04-28 20:39:21 +02:00
upnp.py Fix a bunch of typos (#9545) 2017-09-23 17:15:46 +02:00