431592 - do not resolved forwarded-for address

This commit is contained in:
Greg Wilkins 2014-03-31 12:17:53 +11:00
parent c895f6dbcd
commit 325c4df482
1 changed files with 1 additions and 1 deletions

View File

@ -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)