Validator.js: isIBAN(str) validation fail on EG, SV, ... IBAN-s

Created on 25 Jul 2020  路  5Comments  路  Source: validatorjs/validator.js

Describe the bug
IBAN from countries listed bellow are not validated correctly.

  • Egypt
  • El Salvador
  • Malta
  • Saint Lucia
  • Seychelles

Examples

Example IBANs:

  • SC52BAHL01031234567890123456USD
  • LC14BOSL123456789012345678901234
  • MT31MALT01100000000000000000123
  • SV43ACAT00000000000000123123
  • EG800002000156789012345180002

Additional context
Validator.js version: 13.1.1
Node.js version: v14.5.0

馃悰 bug

All 5 comments

I would like to work on this. Thanks!

@heanzyzabala -- thanks! does the PR close all the issues listed here?

@profnandaa Yes. Thanks!

closed by #1394

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jaxkodex picture jaxkodex  路  3Comments

karladler picture karladler  路  3Comments

AnandChowdhary picture AnandChowdhary  路  3Comments

rathboma picture rathboma  路  4Comments

rubiin picture rubiin  路  3Comments