Sean-Walker0 commented on PR #7320: URL: https://github.com/apache/shenyu/pull/7320#issuecomment-5852749805
Adopted the suggestion in 1910573925 — thanks. `NumberUtils.toInt(wafHandle.getStatusCode(), HttpStatus.FORBIDDEN.value())` now covers missing, blank *and* malformed values in one expression; the new `testWafPluginRejectWithMalformedStatusCodeFallsBackToForbidden` failed on the previous commit with `NumberFormatException: For input string: "forbidden"` and passes now (full module suite + checkstyle green). This supersedes the PR Notes line about non-numeric values staying loud — they now default to 403 like the blank case. -- 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]
