Skip to content
This repository has been archived by the owner on Jan 12, 2019. It is now read-only.

Users can type more than 2 digits in the card expiration field #104

Closed
codeman9 opened this issue Apr 7, 2015 · 2 comments
Closed

Users can type more than 2 digits in the card expiration field #104

codeman9 opened this issue Apr 7, 2015 · 2 comments

Comments

@codeman9
Copy link

codeman9 commented Apr 7, 2015

If the user types in an invalid expiration year (one that is in the past, say "11") then they will be able to enter 4 digits into the field.

@dgoldman-pdx
Copy link
Member

Thanks, @codeman9.

The original intention was to allow users to enter either a 2-digit year (16) or a 4-digit year (2016). But the expiration-date-checking code has been modified here and there over time, and now needs a bit of tidying up.

@dgoldman-pdx
Copy link
Member

Fixed in version 5.0.4.

Thanks again, @codeman9, for bringing this to our attention.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants