Closed
Description
Symfony version(s) affected
all
Description
I have found some preview of the new standard, which can be interpreted as:
Party prefix is 4 upper-case alphanumeric characters (A to Z and 0 to 9 only)
We found out about the issue in production, because someone was tying to use an IBAN from UAE bank, which has BIC E097AEXXXXX.
How to reproduce
Use BIC E097AEXXXXX with the BicValidator
.
Possible Solution
Use ctype_alnum
for the first 4 characters.
Additional Context
Proof from iban.com
Element description from the updated standard
Conventions used in the format column
The following conventions are used in this document:
- character representations:
- a: upper-case letters (alphabetical characters A to Z only);
- n: digits (numeric characters 0 to 9 only);
- c: upper-case alphanumeric characters (A to Z and 0 to 9 only).
- length indications:
- nn!: fixed length;
- nn: maximum length.
Metadata
Metadata
Assignees
Labels
Issues and PRs which are looking for volunteers to complete them.Issues and PRs which are looking for volunteers to complete them.