From 3f67576260425c6123299b83df65963598cf4d97 Mon Sep 17 00:00:00 2001 From: Wiebe Cazemier Date: Mon, 2 Aug 2021 21:52:00 +0200 Subject: [PATCH] Also report illegal $ in publish path --- mqttpacket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mqttpacket.cpp b/mqttpacket.cpp index 7289c59..2069019 100644 --- a/mqttpacket.cpp +++ b/mqttpacket.cpp @@ -518,7 +518,7 @@ void MqttPacket::handlePublish() if (!isValidUtf8(topic, true)) { - logger->logf(LOG_WARNING, "Client '%s' published a message with invalid UTF8 or +/# in it. Dropping.", sender->repr().c_str()); + logger->logf(LOG_WARNING, "Client '%s' published a message with invalid UTF8 or $/+/# in it. Dropping.", sender->repr().c_str()); return; } -- libgit2 0.21.4