fixed the fix..
This commit is contained in:
@ -290,9 +290,9 @@ public class I2PTunnelHTTPClient extends I2PTunnelClientBase implements Runnable
|
|||||||
host = request.substring(0, pos);
|
host = request.substring(0, pos);
|
||||||
|
|
||||||
// parse port
|
// parse port
|
||||||
pos = host.indexOf(":");
|
int posPort = host.indexOf(":");
|
||||||
int port = 80;
|
int port = 80;
|
||||||
if(pos != -1) {
|
if(posPort != -1) {
|
||||||
String[] parts = host.split(":");
|
String[] parts = host.split(":");
|
||||||
host = parts[0];
|
host = parts[0];
|
||||||
try {
|
try {
|
||||||
|
Reference in New Issue
Block a user