JSON-Injection in McpStdioServer.sendProgress() #50
Labels
No labels
bug
build
enhancement
headless
P1-critical
P2-high
P3-medium
P4-low
refactoring
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ai-tools/jdt-mcp-server#50
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
McpStdioServer.sendProgress()(Zeile 119-124) baut JSON perString.format():Nur
"wird escaped, aber nicht\n,\t,\roder Backslashes. Messages mit diesen Zeichen erzeugen invalides JSON.Fix
Jackson
ObjectMapperverwenden statt manueller String-Konstruktion.Gefunden von
Fowler