Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-validator
Commit: a888e6e1893d03de804bf5f8b6c163df70282739
https://github.com/hibernate/hibernate-validator/commit/a888e6e1893d03de8...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2021-11-11 (Thu, 11 Nov 2021)
Changed paths:
M
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/hv/pl/PESELValidator.java
M
engine/src/test/java/org/hibernate/validator/test/constraints/annotations/hv/pl/PESELValidatorTest.java
Log Message:
-----------
HV-1854 Improve PESEL validator conditions
- add checks for month and date part of PESEL number to prevent
meaningless numbers being considered as valid
Signed-off-by: marko-bekhta <marko.prykladna(a)gmail.com>