You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
visa() hardcodes 16 digits although Visa supports 19-digit PANs #556
validators.visa() requires exactly 16 digits, but Visa supports 19-digit PANs. A 19-digit input with Visa's leading 4 and a valid Luhn checksum is rejected solely because of its length.
Reproduced with validators 0.36.0 at current master commit 22786cc6e7283a0fa452c179797e447f798db9f0 on Python 3.14.8:
Activity