mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-30 18:56:30 +08:00
Fix wrong password handling (string -> byte[])
This commit is contained in:
@@ -293,7 +293,7 @@ namespace MQTTnet.Formatter.V3
|
||||
|
||||
if (passwordFlag)
|
||||
{
|
||||
packet.Password = body.ReadStringWithLengthPrefix();
|
||||
packet.Password = body.ReadWithLengthPrefix();
|
||||
}
|
||||
|
||||
ValidateConnectPacket(packet);
|
||||
|
||||
Reference in New Issue
Block a user