Commit 3f67576260425c6123299b83df65963598cf4d97

Authored by Wiebe Cazemier
1 parent a49409a5

Also report illegal $ in publish path

Showing 1 changed file with 1 additions and 1 deletions
mqttpacket.cpp
@@ -518,7 +518,7 @@ void MqttPacket::handlePublish() @@ -518,7 +518,7 @@ void MqttPacket::handlePublish()
518 518
519 if (!isValidUtf8(topic, true)) 519 if (!isValidUtf8(topic, true))
520 { 520 {
521 - logger->logf(LOG_WARNING, "Client '%s' published a message with invalid UTF8 or +/# in it. Dropping.", sender->repr().c_str()); 521 + logger->logf(LOG_WARNING, "Client '%s' published a message with invalid UTF8 or $/+/# in it. Dropping.", sender->repr().c_str());
522 return; 522 return;
523 } 523 }
524 524