Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #16736 [Request] Ignore invalid IP addresses sent by proxies (Gro…
…mNaN) This PR was submitted for the 2.8 branch but it was merged into the 2.3 branch instead (closes #16736). Discussion ---------- [Request] Ignore invalid IP addresses sent by proxies | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | ? | Deprecations? | no | Tests pass? | yes | Fixed tickets | #15525 | License | MIT | Doc PR | n/a The [RFC 7239](https://tools.ietf.org/html/rfc7239#section-6.2) allows other values that IP addresses to be passed in `Forwarded`header and [Nginx can add `unknown` to the `X-Forwarded-For`header](http://www.squid-cache.org/Doc/config/forwarded_for/). To prevent these invalid IP addresses from being returned as "Client IP", this PR ensure that they are excluded. Commits ------- 6578806 [Request] Ignore invalid IP addresses sent by proxies
- Loading branch information