RockteMQ-AI commented on issue #2625:
URL: 
https://github.com/apache/rocketmq-dashboard/issues/2625#issuecomment-5434941089

   Fix PR created: https://github.com/apache/rocketmq-dashboard/pull/2633
   
   **Summary:** Added `DATE_PATTERN` whitelist validation 
(`^\d{4}-\d{2}-\d{2}$`) in `DashboardCollectServiceImpl`. Both 
`getBrokerCache()` and `getTopicCache()` now call `checkDateParam()` before 
constructing file paths, rejecting any `date` value that doesn't match the 
expected `yyyy-MM-dd` format.
   
   Single file change, minimal surface area.


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