RockteMQ-AI commented on issue #11413: URL: https://github.com/apache/rocketmq/issues/11413#issuecomment-6145145781
**Issue Evaluation** Category: `type/bug` | Status: **Confirmed** The reported issue has been verified against the current codebase. **Root Cause:** `SendMessageCommand.execute()` line 94 calls `.trim()` on the message body from `-p` option, removing leading/trailing whitespace before sending. **Impact:** Users sending messages with intentional whitespace (e.g., formatted JSON, indented XML) get silently modified content. **Severity:** Low-Medium — data integrity issue in admin tooling. The proposed fix (removing `.trim()` from the body assignment) is correct. Looking forward to the PR. --- *Automated evaluation by RockteMQ-AI* -- 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]
