allow spaces in dest and proxy lists
This commit is contained in:
@ -122,7 +122,7 @@ public class I2PTunnelConnectClient extends I2PTunnelClientBase implements Runna
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (wwwProxy != null) {
|
if (wwwProxy != null) {
|
||||||
StringTokenizer tok = new StringTokenizer(wwwProxy, ",");
|
StringTokenizer tok = new StringTokenizer(wwwProxy, ", ");
|
||||||
while (tok.hasMoreTokens())
|
while (tok.hasMoreTokens())
|
||||||
_proxyList.add(tok.nextToken().trim());
|
_proxyList.add(tok.nextToken().trim());
|
||||||
}
|
}
|
||||||
|
@ -152,7 +152,7 @@ public class I2PTunnelHTTPClient extends I2PTunnelClientBase implements Runnable
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (wwwProxy != null) {
|
if (wwwProxy != null) {
|
||||||
StringTokenizer tok = new StringTokenizer(wwwProxy, ",");
|
StringTokenizer tok = new StringTokenizer(wwwProxy, ", ");
|
||||||
while (tok.hasMoreTokens())
|
while (tok.hasMoreTokens())
|
||||||
proxyList.add(tok.nextToken().trim());
|
proxyList.add(tok.nextToken().trim());
|
||||||
}
|
}
|
||||||
|
@ -46,7 +46,7 @@ public class I2PTunnelIRCClient extends I2PTunnelClientBase implements Runnable
|
|||||||
notifyThis,
|
notifyThis,
|
||||||
"IRCHandler " + (++__clientId), tunnel, pkf);
|
"IRCHandler " + (++__clientId), tunnel, pkf);
|
||||||
|
|
||||||
StringTokenizer tok = new StringTokenizer(destinations, ",");
|
StringTokenizer tok = new StringTokenizer(destinations, ", ");
|
||||||
dests = new ArrayList(1);
|
dests = new ArrayList(1);
|
||||||
while (tok.hasMoreTokens()) {
|
while (tok.hasMoreTokens()) {
|
||||||
String destination = tok.nextToken();
|
String destination = tok.nextToken();
|
||||||
|
Reference in New Issue
Block a user