mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-27 15:58:06 -05:00
1a423aa5ad21885eaa1c73ded118ded67a01c492
Now, in addition to checking that the date has the correct format (YYYY-MM) we also check to make sure the date is in the future and the month is in the range 01 to 12. This fixes the problem where users were seeing a 500 server error after entering invalid values for the month when entering their credit card info. This change also fixes a problem where the form was redirecting even if there were validation errors, leading the user to believe their authorization was successful when it wasn't.
Description
No description provided
Languages
Python
54.4%
JavaScript
26.7%
HTML
11.3%
Less
4.5%
Shell
1%
Other
2%