Fixes #5079 - :authority header for IPv6 address not having square brackets.
Reverted code changes to HttpClient.normalizeHost(). Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
This commit is contained in:
parent
897e766f24
commit
2e73f80d34
|
@ -64,7 +64,6 @@ import org.eclipse.jetty.io.ClientConnectionFactory;
|
|||
import org.eclipse.jetty.io.MappedByteBufferPool;
|
||||
import org.eclipse.jetty.io.ssl.SslClientConnectionFactory;
|
||||
import org.eclipse.jetty.util.Fields;
|
||||
import org.eclipse.jetty.util.HostPort;
|
||||
import org.eclipse.jetty.util.Jetty;
|
||||
import org.eclipse.jetty.util.ProcessorUtils;
|
||||
import org.eclipse.jetty.util.Promise;
|
||||
|
@ -1164,7 +1163,7 @@ public class HttpClient extends ContainerLifeCycle
|
|||
@Deprecated
|
||||
protected String normalizeHost(String host)
|
||||
{
|
||||
return HostPort.normalizeHost(host);
|
||||
return host;
|
||||
}
|
||||
|
||||
public static int normalizePort(String scheme, int port)
|
||||
|
|
Loading…
Reference in New Issue