Fix: Messages with only special characters can be sent in the chat

This commit is contained in:
Mathis Ginkel
2026-05-10 16:43:41 +02:00
parent 4f1624a30b
commit 88d37bca49
@@ -248,7 +248,7 @@ public class ClientService {
// digits/words/colons
static Pattern responseRex =
Pattern.compile(
"(?<key>\\w+)=(('(?<string>([^']|\\')+)')|(?<primVal>[+-]?[-\\d\\w:]+))");
"(?<key>\\w+)=(('(?<string>([^']|\\')+)')|(?<primVal>[^ ]+))");
/**
* Removes escape characters from a string, specifically converting escaped single quotes (\')