From d7637bc0cde1865c40a034f85b880ad773585c87 Mon Sep 17 00:00:00 2001 From: orignal Date: Fri, 12 Sep 2014 15:58:50 -0400 Subject: [PATCH] fixed malformed messages --- HTTPServer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HTTPServer.cpp b/HTTPServer.cpp index b9d24a1d..35bb60d6 100644 --- a/HTTPServer.cpp +++ b/HTTPServer.cpp @@ -701,7 +701,7 @@ namespace util if (i2p::data::Base32ToByteStream(address.c_str(), address.length() - strlen(".b32.i2p"), (uint8_t *)destination, 32) != 32) { LogPrint ("Invalid Base32 address ", address); - SendReply ("" + itoopieImage + "
Invalid Base32 address", 400); + SendReply ("" + itoopieImage + "
Invalid Base32 address", 400); return; } fullAddress = address; @@ -735,7 +735,7 @@ namespace util if (i2p::data::Base32ToByteStream(address.c_str(), address.length(), (uint8_t *)destination, 32) != 32) { LogPrint("Invalid Base32 address ", address); - SendReply("" + itoopieImage + "
Invalid Base32 address", 400); + SendReply("" + itoopieImage + "
Invalid Base32 address", 400); return; } fullAddress = address + ".b32.i2p";