Aias00 opened a new issue, #1316:
URL: https://github.com/apache/rocketmq-dashboard/issues/1316
## Problem
`GET /api/messages/{msgId}/trace` accepts a blank or whitespace-only message
identifier. `MessageService.getMessageTrace` forwards it to the provider, which
can return an empty trace instead of an actionable client error.
## Scope
Track 1 / message diagnostics.
## Expected behavior
Reject blank trace message identifiers with a structured HTTP 400 before a
provider or RocketMQ admin query is attempted.
## Location
`server/src/main/java/org/apache/rocketmq/studio/instance/message/MessageService.java`
## Suggested fix
Validate `msgId` with `StringUtils.hasText` in the service and add
service/controller regression coverage for whitespace input.
--
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]