New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 605978 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Don't save credit cards with an empty (0) month

Project Member Reported by jdonnelly@chromium.org, Apr 22 2016

Issue description

The autofill::CreditCard class allows 0 as a valid month value, which basically acts as a no-data value. Since this is also allowed as a valid expiration date by autofill::IsValidCreditCardExpirationDate, it's possible to import a credit card from a form where the month value is "" or "0".

IsValidCreditCardExpirationDate should consider 0 to be an invalid date so that we don't offer to save the card in this case.
 
Status: Fixed (was: Started)

Sign in to add a comment