diff --git a/src/src/Commands/UDP.cpp b/src/src/Commands/UDP.cpp index fd085b3c1..ea539c337 100644 --- a/src/src/Commands/UDP.cpp +++ b/src/src/Commands/UDP.cpp @@ -41,6 +41,7 @@ const __FlashStringHelper* Command_UPD_SendTo(struct EventStruct *event, const c if ((destUnit > 0) && (destUnit < 255)) { String eventName = tolerantParseStringKeepCase(Line, 3); + stripEscapeCharacters(eventName); SendUDPCommand(destUnit, eventName.c_str(), eventName.length()); } return return_command_success_flashstr(); diff --git a/src/src/Helpers/StringConverter.cpp b/src/src/Helpers/StringConverter.cpp index 0b8af08ec..744c692a8 100644 --- a/src/src/Helpers/StringConverter.cpp +++ b/src/src/Helpers/StringConverter.cpp @@ -1563,7 +1563,7 @@ bool GetArgvBeginEnd(const char *string, const unsigned int argc, int& pos_begin if (!parenthesis && (((c == ' ') && (d == ' ')) || ((c == separator) && (d == ' ')))) { - // Consider multiple consequitive spaces as one. + // Consider multiple consecutive spaces as one. } else if (!parenthesis && ((d == ' ') && (e == separator))) { // Skip the space.