Skip to content

Commit 8bdd4ef

Browse files
committed
Merge branch '7.2' into 7.3
* 7.2: Minor reword Add note to IBAN validator documentation about whitespace handling
2 parents 69681c7 + 8e33491 commit 8bdd4ef

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

reference/constraints/Iban.rst

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

88+
.. note::
89+
90+
For convenience, the IBAN validator accepts values with various types of
91+
whitespace (e.g., regular, non-breaking, and narrow non-breaking spaces),
92+
which are automatically removed before validation. However, this flexibility
93+
can cause issues when storing IBANs or sending them to APIs that expect a
94+
strict format. To ensure compatibility, normalize IBANs by removing
95+
whitespace and converting them to uppercase before storing or processing.
96+
8897
Options
8998
-------
9099

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy