RockteMQ-AI commented on issue #4662: URL: https://github.com/apache/rocketmq-dashboard/issues/4662#issuecomment-5754462866
**Issue Evaluation** Category: `bug` | Status: **Confirmed** The reported issue has been verified against the current codebase on the `rocketmq-studio` branch. **Root Cause:** In `rmqctl/internal/output/output.go`, the `stringify` function returns server-provided strings verbatim, and the `Rows` function joins cell values with raw tab characters (`\t`) before passing them to a `tabwriter`. When a cell value contains: - A raw **tab** → interpreted as a column delimiter, shifting subsequent columns - A **newline** → splits the row across multiple lines - A **carriage return** → overwrites the line start on terminals JSON and YAML output paths are unaffected since they use structured encoders. **Impact:** Any table-mode output where cell data contains control characters (broker descriptions, error text, client hostnames, user-supplied metadata) will render incorrectly. The corruption is silent and data-dependent. **Severity:** Medium — affects CLI usability for table output; no data loss or security impact. **Note:** PR #4661 by the issue author already proposes a fix with tests. Reviewers may want to evaluate that PR directly. --- *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]
