Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #54219 [Validator] Allow BICs’ first four characters to be digits…
… (MatTheCat) This PR was merged into the 5.4 branch. Discussion ---------- [Validator] Allow BICs’ first four characters to be digits | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | Fix #51975 | License | MIT While a lot of sources claim a BIC’s first four characters must be letters, this is not the case since ISO 9362:1994. The confusion may come from SWIFT (ISO 9362’s registration authority) saying that > [We have] no plan to issue BICs with numeric characters in the first 4 characters. [Source](https://www.swift.com/swift-resource/9586/download) (clicking this link will trigger a download) However, the next paragraph says > If applications have implemented restrictions on the allowed characters, it would be good practice to remove this restriction at the occasion of a software update to respect the standard specification of 4 alpha-numeric characters. As `@luxemate` stumbled on such a valid BIC (see linked issue), this PR removes the `Bic::INVALID_BANK_CODE_ERROR` check. This constant won’t be referenced anymore so it may be deprecated and removed later. Commits ------- 0d824a72fa [Validator] Allow BICs’ first four characters to be digits
- Loading branch information