[
https://issues.apache.org/jira/browse/VALIDATOR-330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sebb resolved VALIDATOR-330.
----------------------------
Resolution: Fixed
Fix Version/s: 1.5.0
URL: http://svn.apache.org/viewvc?rev=1713572&view=rev
Log:
VALIDATOR-330 IBANCheckDigit.isValid() returns True for some invalid IBANs
Modified:
commons/proper/validator/trunk/src/changes/changes.xml
commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/checkdigit/IBANCheckDigit.java
commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/checkdigit/IBANCheckDigitTest.java
> IbanCheckDigit.isValid() returns True for some invalid IBANs
> ------------------------------------------------------------
>
> Key: VALIDATOR-330
> URL: https://issues.apache.org/jira/browse/VALIDATOR-330
> Project: Commons Validator
> Issue Type: Bug
> Components: Routines
> Affects Versions: 1.4.0 Release
> Reporter: Peter Shawe
> Fix For: 1.5.0
>
>
> For example, isValid() returns True for both of these IBANs;
> "IE01AIBK93118702569045" and "IE98AIBK93118702569045". The "IE98" version is
> the correct one (confirmed with online checkers, which also fail the "IE01"
> version).
> calculate() correctly returns "98". As a workaround I'm calling calculate()
> and comparing the result with the checksum in the original IBAN.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)