fix /i2p/B64 handling

This commit is contained in:
zzz
2009-08-27 15:07:48 +00:00
parent 7736545f5b
commit 4bc5215833

View File

@ -107,7 +107,7 @@ public class I2PSocketEepGet extends EepGet {
try {
int slash = 1 + file.substring(1).indexOf("/");
host = file.substring(1, slash);
_actualURL = "http:/" + file.substring(slash); // get the extra slash from the substring
_actualURL = "http://" + host + file.substring(slash);
} catch (IndexOutOfBoundsException ioobe) {
throw new IOException("Bad /i2p/ format: " + _actualURL);
}