RockteMQ-AI commented on issue #2877: URL: https://github.com/apache/rocketmq-dashboard/issues/2877#issuecomment-5487719498
**Issue Evaluation** Category: `bug` | Status: **Confirmed** The reported issue has been verified against the codebase. The `resetOffset` method in `ConsumerServiceImpl` uses `resetOffsetRequest.getTopic()` directly without normalization, while the preview path normalizes the topic name. **Root Cause:** Inconsistent input normalization between preview and apply paths. The apply path does not trim/validate the topic name before passing it to the provider. **Impact:** Medium - Requests with whitespace in topic names can preview successfully but apply to a different (untrimmed) topic. The audit entry also records the unnormalized value. **Severity:** Medium This is a valid bug. The apply path should use the same normalization logic as the preview path for consistency. --- *Automated evaluation by github-manager-bot* -- 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]
