Skip to content

bug of TlsTunnelBuilder.java  #168

@xiang20140619

Description

@xiang20140619

Socket makeTunnel(String host, int port, String proxyUsername,
String proxyPassword, InetSocketAddress proxyAddress) throws IOException {

  String proxyHost = proxyAddress.getAddress().toString().substring(
                0, proxyAddress.getAddress().toString().indexOf("/"));

shoud be:

        String proxyHost = proxyAddress.getAddress().toString().substring(
                proxyAddress.getAddress().toString().indexOf("/")+1, proxyAddress.getAddress().toString().length());

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions