Aias00 opened a new issue, #6752:
URL: https://github.com/apache/shenyu/issues/6752

   - severity: Medium
   - files: 
`shenyu-plugin/shenyu-plugin-mcp-server/src/main/java/org/apache/shenyu/plugin/mcp/server/transport/SseEventFormatter.java:76,89`
   - description: `formatEvent`/`formatComment` build the SSE frame then 
`exchange.getResponse().bufferFactory().wrap(formattedEvent.getBytes())` — 
platform default charset. SSE is a UTF-8 text stream; MCP JSON payloads 
frequently contain non-ASCII.
   - impact: Non-ASCII SSE event data is corrupted on non-UTF-8 default 
charsets.
   - suggested_fix: Use `formattedEvent.getBytes(StandardCharsets.UTF_8)`.
   - confidence: High
   - related_existing: none
   
   ---
   _Identified during the 2026-08-02 deep re-scan; full list in 
[`docs/scan2-2026-08-02/06-medium-tiers.md`](docs/scan2-2026-08-02/06-medium-tiers.md)._


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to