I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 12978ba4 authored by dev's avatar dev
Browse files

fixed the fix..

parent 24b012a8
Branches
Tags
No related merge requests found
......@@ -290,9 +290,9 @@ public class I2PTunnelHTTPClient extends I2PTunnelClientBase implements Runnable
host = request.substring(0, pos);
// parse port
pos = host.indexOf(":");
int posPort = host.indexOf(":");
int port = 80;
if(pos != -1) {
if(posPort != -1) {
String[] parts = host.split(":");
host = parts[0];
try {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment