431592 - do not resolved forwarded-for address
This commit is contained in:
parent
c895f6dbcd
commit
325c4df482
|
@ -247,7 +247,7 @@ public class ForwardedRequestCustomizer implements Customizer
|
|||
|
||||
if (forwardedFor != null)
|
||||
{
|
||||
request.setRemoteAddr(new InetSocketAddress(forwardedFor,request.getRemotePort()));
|
||||
request.setRemoteAddr(InetSocketAddress.createUnresolved(forwardedFor,request.getRemotePort()));
|
||||
}
|
||||
|
||||
if (forwardedProto != null)
|
||||
|
|
Loading…
Reference in New Issue