bug/birthday_regex

Jan 5, 2022 5:40 pm
Millyk reported a problem with settings hanging.

This is because the birthday was in dd-mm-yyyy format and the dd part was greater than 12 but less than 20. The reg only checked for a leading 0 or 1 for months.

I've updated the regex.

It's not an ideal fix (there's no feedback on a bad date and it can be fooled by Feb 30th), but 27 users had this problem and a better regex would have stopped their settings page crashing.

You do not have permission to post in this thread.