Uploaded image for project: 'Commons Validator'
  1. Commons Validator
  2. VALIDATOR-401

IBANValidator fails for Seychelles and Ukraine

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.6
    • None
    • None

    Description

      The IBANValidator does not validate the IBANs from the Seychelles or Ukraine, even though they are part of IBAN registry.

      SC18SSCB11010000000000001497USD, fails but should pass
      UA213996220000026007233566001, fails but should pass

      Attachments

        Activity

          ACK - this is missing in Commons Validator.

          britter Benedikt Ritter added a comment - ACK - this is missing in Commons Validator.
          $ svn ci -m "VALIDATOR-401: IBANValidator fails for Seychelles and Ukraine. Thanks to Björn Raupach for reporting this issue."
          Sending        src/changes/changes.xml
          Sending        src/main/java/org/apache/commons/validator/routines/IBANValidator.java
          Sending        src/test/java/org/apache/commons/validator/routines/IBANValidatorTest.java
          Transmitting file data ...done
          Committing transaction...
          Committed revision 1756783.
          

          Fixed according to https://www.swift.com/sites/default/files/resources/swift_standards_ibanregistry.pdf

          Thank you for the report!

          britter Benedikt Ritter added a comment - $ svn ci -m "VALIDATOR-401: IBANValidator fails for Seychelles and Ukraine. Thanks to Björn Raupach for reporting this issue." Sending src/changes/changes.xml Sending src/main/java/org/apache/commons/validator/routines/IBANValidator.java Sending src/test/java/org/apache/commons/validator/routines/IBANValidatorTest.java Transmitting file data ...done Committing transaction... Committed revision 1756783. Fixed according to https://www.swift.com/sites/default/files/resources/swift_standards_ibanregistry.pdf Thank you for the report!
          raupach Björn Raupach added a comment -

          You are welcome

          raupach Björn Raupach added a comment - You are welcome

          People

            britter Benedikt Ritter
            raupach Björn Raupach
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: