From 4bc52158330a9a5c4586ce6166386847b85eb1bb Mon Sep 17 00:00:00 2001 From: zzz Date: Thu, 27 Aug 2009 15:07:48 +0000 Subject: [PATCH] fix /i2p/B64 handling --- .../java/src/net/i2p/client/streaming/I2PSocketEepGet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ministreaming/java/src/net/i2p/client/streaming/I2PSocketEepGet.java b/apps/ministreaming/java/src/net/i2p/client/streaming/I2PSocketEepGet.java index 5cc8d694f..8aac29cff 100644 --- a/apps/ministreaming/java/src/net/i2p/client/streaming/I2PSocketEepGet.java +++ b/apps/ministreaming/java/src/net/i2p/client/streaming/I2PSocketEepGet.java @@ -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); }