iban4j
iban4j copied to clipboard
Iban with 22 characters failing validation (Bulgaria and Costa Rica)
Same issue...
I think this matter is fixed and needs to be closed.
@MR-Os1 can you provide a sample that addresses the resolution?
Both of the countries have BBAN Structure with 18 characters.
https://github.com/arturmkrtchyan/iban4j/blob/cf63318ec5742890705a1ea629609a6e03fad166/src/main/java/org/iban4j/bban/BbanStructure.java#L120C1-L123C69
https://github.com/arturmkrtchyan/iban4j/blob/cf63318ec5742890705a1ea629609a6e03fad166/src/main/java/org/iban4j/bban/BbanStructure.java#L107C1-L112C68
and also, the testcases contain 22 characters and all of them is passed.
https://github.com/arturmkrtchyan/iban4j/blob/cf63318ec5742890705a1ea629609a6e03fad166/src/test/java/org/iban4j/ValidIbanValidationTest.java#L40C1-L51C6
Thanks for checking @MR-Os1, so I'm going to close the ticket.