|
|
@ -105,6 +105,7 @@ public class RemoteWorkspaceURL implements FCloneable { |
|
|
|
parserWebAndServlet(lefts); |
|
|
|
parserWebAndServlet(lefts); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
//判断一下IPV6
|
|
|
|
this.refreshIPV6Format(); |
|
|
|
this.refreshIPV6Format(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -149,12 +150,13 @@ public class RemoteWorkspaceURL implements FCloneable { |
|
|
|
if (!url.contains(IPV6_JUDGE_SYMBOL) || !url.contains(IPV6_JUDGE_SYMBOL2)) { |
|
|
|
if (!url.contains(IPV6_JUDGE_SYMBOL) || !url.contains(IPV6_JUDGE_SYMBOL2)) { |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
URI uri = null; |
|
|
|
try { |
|
|
|
try { |
|
|
|
URI uri = new URI(url); |
|
|
|
uri = new URI(url); |
|
|
|
this.host = uri.getHost(); |
|
|
|
this.host = uri.getHost(); |
|
|
|
this.port = String.valueOf(uri.getPort()); |
|
|
|
this.port = String.valueOf(uri.getPort()); |
|
|
|
} catch (URISyntaxException e) { |
|
|
|
} catch (URISyntaxException ignored) { |
|
|
|
FineLoggerFactory.getLogger().info("error request url format"); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|