yyqdbngt opened a new pull request, #3809: URL: https://github.com/apache/rocketmq-dashboard/pull/3809
### Motivation The existing `PlainAclRemoteAddressValidatorTest` parameterises many accepted/rejected expressions, but the null/blank semantics, the surrounding-whitespace guard and IPv6 address lists were untested. ### Changes - `shouldTreatNullOrBlankAsUnrestricted`: a null or blank expression means no restriction and is accepted. - `shouldRejectExpressionsWithSurroundingWhitespace`: expressions with leading/trailing whitespace are rejected because the validator never trims. - `shouldAcceptIpv6AddressLists`: comma-separated lists of exact IPv6 addresses validate. ### Verification ``` mvn -B test -Dtest=PlainAclRemoteAddressValidatorTest [INFO] Tests run: 28, Failures: 0, Errors: 0, Skipped: 0 [INFO] BUILD SUCCESS ``` -- 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]
