89799969 opened a new pull request, #4370: URL: https://github.com/apache/rocketmq-dashboard/pull/4370
## Summary Fixes #4287 `MessagePropertyDisplay.abbreviate` capped values with a plain `substring(0, MAX_PROPERTY_VALUE_CHARS)`. The cap counts UTF-16 chars, so a cut between a surrogate pair produced a lone high surrogate in API responses (message explorer / DLQ drawer). Walk back to a code-point boundary before cutting, matching `CredentialUtils.mask` and the web-side fix in #4226. ## Testing - `MessagePropertyDisplayTest#limitPropertiesShouldNotSplitSupplementaryCharactersTest` (new) - `MessagePropertyDisplayTest` full suite: 6 passed locally (`mvn -o test -Dtest=MessagePropertyDisplayTest`) ## AI disclosure Implemented with the assistance of an AI coding agent. -- 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]
