In some environments, it is possible and valid to have a Forwarded-For header in the request, not containing an ip address but a value like "unknown" or "hidden". (See also http://www.squid-cache.org/Doc/config/forwarded_for/ for example).
For that, I added tests and extended parsing logic with an address validation capable of parsing IPv4 and IPv6 values.
|Summary||WebClientInfo.getRemoteAddr() handling "Forwarded-For"value tokens not being ip addresses||WebClientInfo.getRemoteAddr() handling "Forwarded-For" value tokens not being ip addresses|
|Fix Version/s||6.2.0 [ 12323295 ]|
|Fix Version/s||1.5.9 [ 12322962 ]|
|Resolution||Fixed [ 1 ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Assignee||Martin Grigorov [ mgrigorov ]|