Loyal-Young opened a new issue, #7079:
URL: https://github.com/apache/rocketmq-dashboard/issues/7079

   ## Problem
   
   The Apache metadata provider passes a Topic or consumer-group search term 
directly into four SQL `LIKE` queries (full list and paged list for each 
resource). RocketMQ names can contain underscores. Searching for a literal name 
such as `orders_eu` therefore also matches unrelated names such as `ordersXeu`; 
`%` and backslashes likewise change the query pattern.
   
   ## Expected behavior
   
   Keep substring search but treat the entered text literally in all four query 
paths. Escape `LIKE` metacharacters before binding the search term, while 
preserving instance, cluster, type, and system-topic filters.
   
   ## Reproduction
   
   Store two Topic metadata rows named `orders_eu` and `ordersXeu`, then search 
for `orders_eu` in the Topic inventory. The current `%orders_eu%` pattern can 
return both rows. The same issue affects consumer-group inventory searches.
   


-- 
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]

Reply via email to