yykaue opened a new pull request, #6942: URL: https://github.com/apache/shenyu/pull/6942
Fixes #6555. `TimerAfterPredicateJudge` previously checked only whether `paramName` was `null`. When `paramName` was an empty string, the request data could be incorrectly parsed as a date, resulting in a `DateTimeParseException`. This PR: - Uses `StringUtils.hasLength` to handle both `null` and empty `paramName` values. - Aligns `TimerAfterPredicateJudge` with `TimerBeforePredicateJudge`. - Adds a regression test covering an empty `paramName`. ## Testing ```shell ./mvnw -pl shenyu-plugin/shenyu-plugin-base -Djacoco.skip=true test ``` All 116 tests passed, and Checkstyle reported no violations. Thanks @Aias00 for reporting this issue. Please review when convenient. -- 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]
