Create components to respond to client request #200

Merged
lars.winzer merged 12 commits from feat/serverside-response into main 2026-03-24 15:02:16 +01:00
Showing only changes of commit d0b431b650 - Show all commits
@@ -49,8 +49,9 @@ public class ResponseEncoder {
}
private static String maskIfNeeded(String value) {
if (value.contains(" ")) {
return "'" + value + "'";
if (value.contains(" ") || value.contains("'")) {
String escaped = value.replace("'", "\\'");
return "'" + escaped + "'";
}
return value;
}