yx9o opened a new issue, #566: URL: https://github.com/apache/rocketmq-dashboard/issues/566
## Problem `GET /api/audit-logs` silently ignores invalid `startDate` or `endDate` values because date parsing failures are converted to an empty filter. The API also accepts a `startDate` later than `endDate`, which produces an unexplained empty result instead of reporting an invalid request. ## Expected behavior - Reject invalid `startDate` and `endDate` values with HTTP 400. - Require date parameters to use `YYYY-MM-DD`. - Reject ranges where `startDate` is later than `endDate`. - Preserve inclusive full-day filtering for valid date ranges. ## Proposed fix Convert date parsing failures to `BusinessException` code 400, validate the date range before querying the repository, and update the tests and API documentation. -- 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]
