From 5dadc5ae93e33bacaa77d8e478fa31a4f98c4389 Mon Sep 17 00:00:00 2001 From: zzz Date: Tue, 11 Feb 2025 12:38:52 -0500 Subject: [PATCH] i2ptunnel: Proxy jump page tweaks --- .../java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java b/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java index a5c650639..d460775a0 100644 --- a/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java +++ b/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java @@ -1559,15 +1559,15 @@ public class I2PTunnelHTTPClient extends I2PTunnelHTTPClientBase implements Runn String header = getErrorPage("ahelper-new", ERR_AHELPER_NEW); out.write(header); out.write("\n\n"); + ":\n"); try { String b32 = Base32.encode(SHA256Generator.getInstance().calculateHash(Base64.decode(ahelperKey)).getData()); - out.write("" + + out.write("" + ""); } catch(Exception e) { } - out.write("\n
" + _t("Host") + - "" + idn + "
" + idn + "
" + _t("Base32") + "
" + _t("Base32") + ":" + b32 + ".b32.i2p
" + _t("Destination") + "" + - "" + + out.write("
" + _t("Destination") + ":" + + "" + "
\n" + "
\n" + // FIXME if there is a query remaining it is lost