forked from I2P_Developers/i2p.i2p
* i2psnark: Support ports in announce URLs (ticket #1283)
This commit is contained in:
@ -866,7 +866,7 @@ public class TrackerClient implements Runnable {
|
||||
} catch (MalformedURLException mue) {
|
||||
return null;
|
||||
}
|
||||
if (url.getPort() >= 0 || !url.getProtocol().equals("http"))
|
||||
if (!url.getProtocol().equals("http"))
|
||||
return null;
|
||||
String host = url.getHost();
|
||||
if (host.endsWith(".i2p"))
|
||||
|
Reference in New Issue
Block a user