commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (VALIDATOR-330) IbanCheckDigit.isValid() returns True for some invalid IBANs
Date Thu, 30 Jan 2014 13:46:09 GMT

     [ https://issues.apache.org/jira/browse/VALIDATOR-330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebb updated VALIDATOR-330:
---------------------------

    Assignee:     (was: Sebb)

> 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
>
> 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.1.5#6160)

Mime
View raw message