Aias00 opened a new issue, #1318: URL: https://github.com/apache/rocketmq-dashboard/issues/1318
## Problem Topic route/consumer diagnostics and Consumer Group detail/progress/subscription APIs accept whitespace-only resource names and forward them to their providers. This can produce empty diagnostic data or unnecessary RocketMQ admin calls instead of a clear validation error. ## Scope Track 1 / instance runtime diagnostics. ## Location `server/src/main/java/org/apache/rocketmq/studio/instance/topic/MetadataService.java` ## Expected behavior Reject blank Topic and Consumer Group names with HTTP 400 before resolving a provider. Normalize accepted names once at the service boundary. ## Suggested fix Validate and trim names for Topic route/consumer lookups and Consumer Group detail/progress/subscription lookups; add service-level regression tests. -- 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]
