Skip to content

Commit eb10b2c

Browse files
committed
minor #21049 [Validator] Add note to IBAN validator documentation about whitespace handling (nicodemuz)
This PR was submitted for the 7.3 branch but it was merged into the 6.4 branch instead. Discussion ---------- [Validator] Add note to IBAN validator documentation about whitespace handling Commits ------- 87fff9c Add note to IBAN validator documentation about whitespace handling
2 parents 04d5a37 + 87fff9c commit eb10b2c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

reference/constraints/Iban.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,14 @@ will contain an International Bank Account Number.
8585
8686
.. include:: /reference/constraints/_empty-values-are-valid.rst.inc
8787

88+
.. note::
89+
90+
The IBAN validator accepts various human-readable formats, including different
91+
whitespace types (e.g., spaces, non-breaking spaces). This flexibility may
92+
cause issues when storing IBANs or integrating with APIs expecting a strict
93+
format. Consider normalizing IBANs (e.g., removing whitespace) before storage
94+
or processing to ensure compatibility.
95+
8896
Options
8997
-------
9098

0 commit comments

Comments
 (0)