btlqql opened a new pull request, #2255: URL: https://github.com/apache/rocketmq-dashboard/pull/2255
## Summary - validate every SAN entry on Kubernetes certificate create and update requests - normalize SAN values on persistence writes by trimming, dropping blanks, and stable-deduplicating entries - normalize legacy SAN JSON on reads so existing null or blank values cannot break certificate consumers - cover request validation and both persistence boundaries with focused tests ## Problem Certificate SAN lists accepted null, blank, whitespace-padded, and duplicate entries. Those values were persisted and returned unchanged; a legacy null entry could then break client-side certificate search when the UI applies string operations to every SAN value. ## Verification - `K8sCertDTOTest,MybatisPlusK8sCertRepositoryTest`: 11 tests passed - `mvn -B -ntp -DskipTests package`: passed - Maven Checkstyle: 0 violations - `git diff --check` Closes #2254 -- 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]
