yyqdbngt opened a new pull request, #3105: URL: https://github.com/apache/rocketmq-dashboard/pull/3105
### Summary Escape LIKE wildcards in the DB-backed metadata page searches: - `listTopicsPage` / `listConsumerGroupsPage` now escape `%`, `_` and `\` in the search term via `escapeLike` before building the `LambdaQueryWrapper` predicate, so searching for literal text such as `100%` or `a_b` no longer behaves as a wildcard match. ### Why The plain-text search box treats input as a substring; an unescaped `%` previously matched every name and `_` matched any single character, surprising users who search names containing those symbols. ### Testing - `mvn -f server/pom.xml -Dtest=RocketMQMetadataProviderTest test` passes: 35/35 (34 existing + 1 new covering the escape helper). -- 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]
