mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 04:04:16 +00:00
fixed malformed messages
This commit is contained in:
parent
b2e7a53629
commit
d7637bc0cd
@ -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 ("<html>" + itoopieImage + "<br>Invalid Base32 address</hmtl>", 400);
|
||||
SendReply ("<html>" + itoopieImage + "<br>Invalid Base32 address</html>", 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("<html>" + itoopieImage + "<br>Invalid Base32 address</hmtl>", 400);
|
||||
SendReply("<html>" + itoopieImage + "<br>Invalid Base32 address</html>", 400);
|
||||
return;
|
||||
}
|
||||
fullAddress = address + ".b32.i2p";
|
||||
|
Loading…
x
Reference in New Issue
Block a user