Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg/web: X-Forwarded-For multi-IP handling (grafana#45098)
It is conventionally common for the X-Forwarded-For header to contain a comma-separated list of IP addresses, with each intermediate proxy adding an additional item as a request passes through it. This change makes the web framework handle this case appropriately, always selecting the first item in the list.
- Loading branch information