Email field validation regex is wrong for long domain extensions
-
Hi!
I’ve been using your plugin, and found a bug in the implementation.
In your cf7cv_custom_form_validation function you have this regex for email validation: /^([*+!.&#$|\’\\%\/0-9a-z^_`{}=?~:-]+)@(([0-9a-z-]+\.)+[0-9a-z]{2,4})$/iIt makes domain extensions that are longer than 4 characters invalid. However there are many domain extensions that are longer than 4 characters. Can you fix this pls?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Email field validation regex is wrong for long domain extensions’ is closed to new replies.